Class: NPR::Entity::Base
- Inherits:
-
Object
- Object
- NPR::Entity::Base
- Includes:
- Concern::Relation, Concern::ShallowAttributes
- Defined in:
- lib/npr/entity/base.rb
Direct Known Subclasses
Audio, Author, Book, BookEdition, Byline, Collection, Crop, Enlargement, ExternalAsset, Formats, Image, IntroText, Link, List, ListText, MP3, Member, MemberByline, MemberPromoArt, Name, Organization, Paragraph, Parent, Permissions, Program, PromoArtBookEdition, Provider, PullQuote, RelatedLink, Show, Story, Stream, Text, Title, Transcript
Instance Method Summary collapse
-
#initialize(json = {}) ⇒ Base
constructor
—————– Override this.
Methods included from Concern::ShallowAttributes
Methods included from Concern::Relation
Constructor Details
#initialize(json = {}) ⇒ Base
Override this
14 15 16 |
# File 'lib/npr/entity/base.rb', line 14 def initialize(json={}) @_json = json end |