class Pokemon::TcgPlayerPriceValues

Attributes

direct[RW]
high[RW]
low[RW]
market[RW]
mid[RW]

Public Class Methods

from_json(json) click to toggle source
# File lib/pokemon_tcg_sdk/tcgplayer.rb, line 35
def self.from_json(json)
  values = TcgPlayerPriceValues.new
  values.low = json['low']
  values.mid = json['mid']
  values.high = json['high']
  values.market = json['market']
  values.direct = json['direct']

  values
end