Sha256: ed362ec40ff0291a0e607646dae4a0f29effe9267f519a6d857b3575e0c754bf

Contents?: true

Size: 658 Bytes

Versions: 1

Compression:

Stored size: 658 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
    property :subtype
    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.0.0 lib/elder_scrolls_legends_sdk/representers/card_representer.rb