class PokeApi::EvolutionTrigger
EvolutionTrigger
object handling all data fetched from /evolution-trigger
Attributes
names[R]
pokemon_species[R]
Public Class Methods
new(data)
click to toggle source
# File lib/poke_api/evolution_trigger.rb, line 7 def initialize(data) assign_data(data) end
Private Instance Methods
custom_endpoint_object()
click to toggle source
# File lib/poke_api/evolution_trigger.rb, line 13 def custom_endpoint_object { baby_trigger_item: Item } end