class PokeApi::Pokedex

Pokdex object handling all data fetched from /pokedex

Attributes

is_main_series[R]
names[R]
pokemon_entries[R]
region[R]
version_groups[R]

Public Class Methods

new(data) click to toggle source
# File lib/poke_api/pokedex.rb, line 10
def initialize(data)
  assign_data(data)
end

Private Instance Methods

custom_endpoint_object() click to toggle source
# File lib/poke_api/pokedex.rb, line 16
def custom_endpoint_object
  {
    pokemon_entries: PokemonEntry
  }
end