class PokeApi::GrowthRate

GrowthRate object handling all data fetched from /growth-rate

Attributes

descriptions[R]
formula[R]
levels[R]
pokemon_species[R]

Public Class Methods

new(data) click to toggle source
# File lib/poke_api/growth_rate.rb, line 9
def initialize(data)
  assign_data(data)
end

Private Instance Methods

custom_endpoint_object() click to toggle source
# File lib/poke_api/growth_rate.rb, line 15
def custom_endpoint_object
  { levels: GrowthRateExperienceLevel }
end