lib/openaustralia/senators.rb in openaustralia-1.0.1 vs lib/openaustralia/senators.rb in openaustralia-1.0.2

- old
+ new

@@ -34,12 +34,23 @@ # search results for a list of senators class SenatorFound include XML::Mapping numeric_node :member_id, 'member_id' - text_node :name, 'name' - numeric_node :person_id, 'person_id' + numeric_node :house, 'house' + text_node :first_name, 'first_name' + text_node :last_name, 'last_name' + text_node :constituency, 'constituency' text_node :party, 'party' + text_node :entered_house, 'entered_house' + text_node :entered_reason, 'entered_reason' + text_node :left_house, 'left_house' + text_node :left_reason, 'left_reason' + numeric_node :person_id, 'person_id' + text_node :title, 'title' + text_node :full_name, 'full_name' + text_node :name, 'name' + end # record for foresults of a representative search class SenatorSearchResult include XML::Mapping