class Pokemon::Tcgplayer
Attributes
prices[RW]
updated_at[RW]
url[RW]
Public Class Methods
from_json(json)
click to toggle source
# File lib/pokemon_tcg_sdk/tcgplayer.rb, line 5 def self.from_json(json) tcgplayer = Tcgplayer.new tcgplayer.url = json['url'] tcgplayer.updated_at = json['updatedAt'] tcgplayer.prices = TcgPlayerPrices.from_json(json['prices']) if !json['prices'].nil? tcgplayer end