class PokeApi::Move::MoveStatChange

MoveStatChange object handling all data fetched from /move for stat_changes

Attributes

change[R]
stat[R]

Public Class Methods

new(data) click to toggle source
# File lib/poke_api/move/move_stat_change.rb, line 8
def initialize(data)
  @change = data[:change]
  @stat = Stat.new(data[:stat])
end