lib/npr/entity/organization.rb in npr-1.1.0 vs lib/npr/entity/organization.rb in npr-1.2.0

- old
+ new

@@ -4,13 +4,13 @@ module NPR module Entity class Organization < Base attr_accessor :orgId, :orgAbbr shallow_attribute "name", "website" - + def initialize(json) extract_shallow_attributes(json) - + @orgId = json["orgId"].to_i @orgAbbr = json["orgAbbr"] end end # Organization end # Entity