class PokeApi::PokeathlonStat::NaturePokeathlonStatAffect
NaturePokeathlonStatAffect
object handling all data fetched from /pokeathlon-stat affecting_natures
Attributes
max_change[R]
nature[R]
Public Class Methods
new(data)
click to toggle source
# File lib/poke_api/pokeathlon_stat/nature_pokeathlon_stat_affect.rb, line 9 def initialize(data) @max_change = data[:max_change] @nature = Nature.new(data[:nature]) end