No description, website, or topics provided.
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
Gemfile
README.md
Rakefile
assembly_wales.gemspec

README.md

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