Class: NPR::Entity::Enlargement

Inherits:
Base
  • Object
show all
Defined in:
lib/npr/entity/enlargement.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Concern::ShallowAttributes

included

Methods included from Concern::Relation

included

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

#srcObject

Returns the value of attribute src.



7
8
9
# File 'lib/npr/entity/enlargement.rb', line 7

def src
  @src
end