Sha256: a6eccd863a27459b85cac113cb155b439bbdbbfec0effad6afca270817bd8bdc

Contents?: true

Size: 227 Bytes

Versions: 8

Compression:

Stored size: 227 Bytes

Contents

module Pokemon
  class SetImages
    attr_accessor :symbol, :logo

    def self.from_json(json)
      images = SetImages.new
      images.symbol = json['symbol']
      images.logo = json['logo']

      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/set_images.rb
pokemon_tcg_sdk-4.4.0 lib/pokemon_tcg_sdk/set_images.rb
pokemon_tcg_sdk-4.3.0 lib/pokemon_tcg_sdk/set_images.rb
pokemon_tcg_sdk-4.2.1 lib/pokemon_tcg_sdk/set_images.rb
pokemon_tcg_sdk-4.2.0 lib/pokemon_tcg_sdk/set_images.rb
pokemon_tcg_sdk-4.1.1 lib/pokemon_tcg_sdk/set_images.rb
pokemon_tcg_sdk-4.1.0 lib/pokemon_tcg_sdk/set_images.rb
pokemon_tcg_sdk-4.0.0 lib/pokemon_tcg_sdk/set_images.rb