class Pokemon::CardImages

Attributes

large[RW]
small[RW]

Public Class Methods

from_json(json) click to toggle source
# File lib/pokemon_tcg_sdk/card_images.rb, line 5
def self.from_json(json)
  images = CardImages.new
  images.small = json['small']
  images.large = json['large']

  images
end