class PokeAPI::Species

Public Instance Methods

evolution_chain() click to toggle source
# File lib/pokeapi/species.rb, line 10
def evolution_chain
  @evolution_chain ||= begin
                         response = Requester.evolution_chain(evolution_chain_id)
                         EvolutionChain.new(response)
                       end
end