Sha256: 75966dfd2f6fe057271b65dd873d38126008742b25f0530771c98746a2c28026

Contents?: true

Size: 688 Bytes

Versions: 1

Compression:

Stored size: 688 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
    property :collectible
    collection :attributes
    collection :keywords
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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