class PokeApi::Stat
Stat
object handling all data fetched from /stat
Attributes
affecting_moves[R]
affecting_natures[R]
characteristics[R]
game_index[R]
is_battle_only[R]
move_damage_class[R]
names[R]
Public Class Methods
new(data)
click to toggle source
# File lib/poke_api/stat.rb, line 12 def initialize(data) assign_data(data) end
Private Instance Methods
custom_endpoint_object()
click to toggle source
# File lib/poke_api/stat.rb, line 18 def custom_endpoint_object { affecting_moves: MoveStatAffectSets, affecting_natures: NatureStatAffectSets } end