Sha256: 02a3c7db94ef9e68d4be42ce4f4499d9e4a20757df91ad4d7e11cc7ea1a45a02

Contents?: true

Size: 661 Bytes

Versions: 1

Compression:

Stored size: 661 Bytes

Contents

require 'elder_scrolls_legends_sdk/representers/card_set_representer'
require 'elder_scrolls_legends_sdk/card_set'

module ElderScrollsLegends
  module CardRepresenter
    include Roar::JSON

    property :name
    property :rarity
    property :type
    collection :subtypes
    property :cost
    property :power
    property :health
    property :soul_summon, as: :soulSummon
    property :soul_trap, as: :soulTrap
    property :text
    property :unique
    property :image_url, as: :imageUrl
    property :id
    property :set, extend: CardSetRepresenter, class: CardSet
    collection :attributes
    collection :keywords
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
elder_scrolls_legends_sdk-1.1.0 lib/elder_scrolls_legends_sdk/representers/card_representer.rb