Class: NPR::Entity::Enlargement
- Defined in:
- lib/npr/entity/enlargement.rb
Instance Attribute Summary collapse
-
#src ⇒ Object
Returns the value of attribute src.
Instance Method Summary collapse
-
#initialize(json) ⇒ Enlargement
constructor
—————.
Methods included from Concern::ShallowAttributes
Methods included from Concern::Relation
Constructor Details
#initialize(json) ⇒ Enlargement
12 13 14 15 |
# File 'lib/npr/entity/enlargement.rb', line 12 def initialize(json) @src = json["src"] extract_shallow_attributes(json) end |
Instance Attribute Details
#src ⇒ Object
Returns the value of attribute src.
7 8 9 |
# File 'lib/npr/entity/enlargement.rb', line 7 def src @src end |