Sha256: fef0e71898321e17fbef4a3048db4d5b846822bbbd3fc18a72b36844b7f02a27

Contents?: true

Size: 514 Bytes

Versions: 2

Compression:

Stored size: 514 Bytes

Contents

require 'roar/json'

module MTG
  module SetRepresenter
    include Roar::JSON
  
    property :code
    property :name
    property :type
    property :border
    property :mkm_id
    property :mkm_name
    property :block
    property :old_code, as: :oldCode
    property :online_only, as: :onlineOnly
    property :release_date, as: :releaseDate
    property :gatherer_code, as: :gatherCode
    property :magic_cards_info_code, as: :magicCardsInfoCode
    
    collection :booster
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mtg_sdk-3.2.0 lib/mtg_sdk/representers/set_representer.rb
mtg_sdk-3.1.0 lib/mtg_sdk/representers/set_representer.rb