Sha256: cd83b97c9beafcee67057d625464f72b25f78d92fc6ed7ec3031903961a87fff

Contents?: true

Size: 250 Bytes

Versions: 3

Compression:

Stored size: 250 Bytes

Contents

require 'roar/json'

module Pokemon
  module AttackRepresenter
    include Roar::JSON

    collection :cost
    property :name
    property :text
    property :damage
    property :converted_energy_cost, as: :convertedEnergyCost
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pokemon_tcg_sdk-3.0.0 lib/pokemon_tcg_sdk/representers/attack_representer.rb
pokemon_tcg_sdk-2.5.0 lib/pokemon_tcg_sdk/representers/attack_representer.rb
pokemon_tcg_sdk-2.4.0 lib/pokemon_tcg_sdk/representers/attack_representer.rb