class PokeApi::PokemonSpecies::PokemonSpeciesDexEntry

PokemonSpeciesDexEntry object handling all data fetched from /pokemon-species pokedex_numbers

Attributes

entry_number[R]
pokedex[R]

Public Class Methods

new(data) click to toggle source
# File lib/poke_api/pokemon_species/pokemon_species_dex_entry.rb, line 8
def initialize(data)
  @entry_number = data[:entry_number]
  @pokedex = Pokedex.new(data[:pokedex])
end