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