Sha256: f262483e565f594c6c26eb9729e8d63ce660d613452682712d9158ca6cede6bc
Contents?: true
Size: 490 Bytes
Versions: 5
Compression:
Stored size: 490 Bytes
Contents
## # NPR::Entity::List # module NPR module Entity class List < Base include NPR::Concern::LinksAssociation has_many "stories", :key => "story", :class_name => NPR::Entity::Story #------------------ shallow_attribute( "title", "teaser", "miniTeaser" ) #------------------ def initialize(json) extract_shallow_attributes(json) create_relations(json) end end # List end # Entity end # NPR
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
npr-3.0.0 | lib/npr/entity/list.rb |
npr-2.0.2 | lib/npr/entity/list.rb |
npr-2.0.1 | lib/npr/entity/list.rb |
npr-2.0.0 | lib/npr/entity/list.rb |
npr-1.2.0 | lib/npr/entity/list.rb |