Class: PokeApi::PokemonSpecies::Genus
- Inherits:
-
Object
- Object
- PokeApi::PokemonSpecies::Genus
- Defined in:
- lib/poke_api/pokemon_species/genus.rb
Overview
Genus object handling all data fetched from /pokemon-species genera
Instance Attribute Summary collapse
-
#genus ⇒ Object
readonly
Returns the value of attribute genus.
-
#language ⇒ Object
readonly
Returns the value of attribute language.
Instance Method Summary collapse
-
#initialize(data) ⇒ Genus
constructor
A new instance of Genus.
Constructor Details
Instance Attribute Details
#genus ⇒ Object (readonly)
Returns the value of attribute genus.
5 6 7 |
# File 'lib/poke_api/pokemon_species/genus.rb', line 5 def genus @genus end |
#language ⇒ Object (readonly)
Returns the value of attribute language.
5 6 7 |
# File 'lib/poke_api/pokemon_species/genus.rb', line 5 def language @language end |