lib/osm/member.rb in osm-0.0.4 vs lib/osm/member.rb in osm-0.0.5
- old
+ new
@@ -6,10 +6,10 @@
# Initialize a new Member using the hash returned by the API call
# @param data the hash of data for the object returned by the API
def initialize(data)
@id = Osm::to_i_or_nil(data['scoutid'])
- @section_id = Osm::to_i_or_nil(data['sectionid0'])
+ @section_id = Osm::to_i_or_nil(data['sectionidO'])
@type = data['type']
@first_name = data['firstname']
@last_name = data['lastname']
@email1 = data['email1']
@email2 = data['email2']