Class: NPR::Entity::List

Inherits:
Base
  • Object
show all
Includes:
Concern::LinksAssociation
Defined in:
lib/npr/entity/list.rb

Instance Method Summary collapse

Methods included from Concern::LinksAssociation

included, #link_for

Methods included from Concern::ShallowAttributes

included

Methods included from Concern::Relation

included

Constructor Details

#initialize(json) ⇒ List




20
21
22
23
# File 'lib/npr/entity/list.rb', line 20

def initialize(json)
  extract_shallow_attributes(json)
  create_relations(json)
end