Sha256: 1261019796310bde47669d509dac5d6ed2eca7847bd0a08885bfc5caedb64b2b
Contents?: true
Size: 370 Bytes
Versions: 5
Compression:
Stored size: 370 Bytes
Contents
## # NPR::Entity::Organization # 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 end # NPR
Version data entries
5 entries across 5 versions & 1 rubygems