class PokeApi::Location
Location
object handling all data fetched from /location
Attributes
areas[R]
game_indices[R]
names[R]
region[R]
Public Class Methods
new(data)
click to toggle source
# File lib/poke_api/location.rb, line 9 def initialize(data) assign_data(data) end
Private Instance Methods
custom_endpoint_object()
click to toggle source
# File lib/poke_api/location.rb, line 15 def custom_endpoint_object { game_indices: Common::GenerationGameIndex } end