Skip to content

samknight/assembly_wales

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assembly Wales

Ruby gem to connect to the Assembly Wales XML feed

Usage

    require 'assembly_wales'

    date = Date.parse('2013-02-20')

    record = AssemblyWales::Plenary.new(date)

contributions in the date are stored an Array of AssemblyWales::Speech modules

record.speeches

Any field from the XML can be called from each speech element

  record.speeches.each do |speech|
    speech.contribution_verbatim
  end

see XML feed for details

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages