Sha256: b7ac08996d91bcef67ca24b09377b3e0fb7aa305189a8a7e743e9d07c5aaa85b

Contents?: true

Size: 238 Bytes

Versions: 6

Compression:

Stored size: 238 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

6 entries across 6 versions & 1 rubygems

Version Path
pokemon_tcg_sdk-2.3.0 lib/pokemon_tcg_sdk/representers/attack_representer.rb
pokemon_tcg_sdk-2.2.1 lib/pokemon_tcg_sdk/representers/attack_representer.rb
pokemon_tcg_sdk-2.2.0 lib/pokemon_tcg_sdk/representers/attack_representer.rb
pokemon_tcg_sdk-2.1.0 lib/pokemon_tcg_sdk/representers/attack_representer.rb
pokemon_tcg_sdk-2.0.0 lib/pokemon_tcg_sdk/representers/attack_representer.rb
pokemon_tcg_sdk-1.0.0 lib/pokemon_tcg_sdk/representers/attack_representer.rb