14 15 16 17
# File 'lib/pokeapi/pokemon.rb', line 14 def find(id) response = Requester.pokemon(id) new response end
20 21 22 23 24 25
# File 'lib/pokeapi/pokemon.rb', line 20 def species @species ||= begin response = Requester.species(species_id) Species.new response end end