Sha256: 5095d377915a29ec0503edc1ae393c2933b53f6d4ed8e32373e2fa07b3806738

Contents?: true

Size: 229 Bytes

Versions: 8

Compression:

Stored size: 229 Bytes

Contents

module Pokemon
  class CardImages
    attr_accessor :small, :large

    def self.from_json(json)
      images = CardImages.new
      images.small = json['small']
      images.large = json['large']

      images
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pokemon_tcg_sdk-4.5.0 lib/pokemon_tcg_sdk/card_images.rb
pokemon_tcg_sdk-4.4.0 lib/pokemon_tcg_sdk/card_images.rb
pokemon_tcg_sdk-4.3.0 lib/pokemon_tcg_sdk/card_images.rb
pokemon_tcg_sdk-4.2.1 lib/pokemon_tcg_sdk/card_images.rb
pokemon_tcg_sdk-4.2.0 lib/pokemon_tcg_sdk/card_images.rb
pokemon_tcg_sdk-4.1.1 lib/pokemon_tcg_sdk/card_images.rb
pokemon_tcg_sdk-4.1.0 lib/pokemon_tcg_sdk/card_images.rb
pokemon_tcg_sdk-4.0.0 lib/pokemon_tcg_sdk/card_images.rb