class PokeApi::LocationArea
LocationArea
object handling all data fetched from /location-area
Attributes
encounter_method_rates[R]
game_index[R]
location[R]
names[R]
pokemon_encounters[R]
Public Class Methods
new(data)
click to toggle source
# File lib/poke_api/location_area.rb, line 10 def initialize(data) assign_data(data) end
Private Instance Methods
custom_endpoint_object()
click to toggle source
# File lib/poke_api/location_area.rb, line 16 def custom_endpoint_object { encounter_method_rates: EncounterMethodRate, pokemon_encounters: PokemonEncounter } end