Class: Pokemon::SetImages
- Inherits:
-
Object
- Object
- Pokemon::SetImages
- Defined in:
- lib/pokemon_tcg_sdk/set_images.rb
Instance Attribute Summary collapse
-
#logo ⇒ Object
Returns the value of attribute logo.
-
#symbol ⇒ Object
Returns the value of attribute symbol.
Class Method Summary collapse
Instance Attribute Details
#logo ⇒ Object
Returns the value of attribute logo.
3 4 5 |
# File 'lib/pokemon_tcg_sdk/set_images.rb', line 3 def logo @logo end |
#symbol ⇒ Object
Returns the value of attribute symbol.
3 4 5 |
# File 'lib/pokemon_tcg_sdk/set_images.rb', line 3 def symbol @symbol end |
Class Method Details
.from_json(json) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/pokemon_tcg_sdk/set_images.rb', line 5 def self.from_json(json) images = SetImages.new images.symbol = json['symbol'] images.logo = json['logo'] images end |