PokemonTCG/pokemon-tcg-sdk-ruby

View on GitHub
lib/pokemon_tcg_sdk/set_images.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
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