class PokeAPI::Pokemon
Public Class Methods
find(id)
click to toggle source
# File lib/pokeapi/pokemon.rb, line 14 def find(id) response = Requester.pokemon(id) new response end
Public Instance Methods
species()
click to toggle source
# File lib/pokeapi/pokemon.rb, line 20 def species @species ||= begin response = Requester.species(species_id) Species.new response end end