class PokeApi::PokemonShape

PokemonShape object handling all data fetched from /pokemon-shape

Attributes

awesome_names[R]
names[R]
pokemon_species[R]

Public Class Methods

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

Private Instance Methods

custom_endpoint_object() click to toggle source
# File lib/poke_api/pokemon_shape.rb, line 14
def custom_endpoint_object
  { awesome_names: AwesomeName }
end