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