Sha256: 319082cc594dad8d84b23db1bc8ee13e811d76b4279c2cf24cd255bc3f535345

Contents?: true

Size: 402 Bytes

Versions: 11

Compression:

Stored size: 402 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    module Models
      class DogmaEffectShort < Base
        def as_json
          {
            effect_id: effect_id,
            is_default: is_default
          }
        end

        def effect_id
          options['effect_id']
        end

        def is_default
          options['is_default']
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
eve_online-0.29.0 lib/eve_online/esi/models/dogma_effect_short.rb
eve_online-0.28.0 lib/eve_online/esi/models/dogma_effect_short.rb
eve_online-0.27.0 lib/eve_online/esi/models/dogma_effect_short.rb
eve_online-0.26.0 lib/eve_online/esi/models/dogma_effect_short.rb
eve_online-0.25.0 lib/eve_online/esi/models/dogma_effect_short.rb
eve_online-0.24.0 lib/eve_online/esi/models/dogma_effect_short.rb
eve_online-0.23.0 lib/eve_online/esi/models/dogma_effect_short.rb
eve_online-0.22.0 lib/eve_online/esi/models/dogma_effect_short.rb
eve_online-0.21.0 lib/eve_online/esi/models/dogma_effect_short.rb
eve_online-0.20.0 lib/eve_online/esi/models/dogma_effect_short.rb
eve_online-0.19.0 lib/eve_online/esi/models/dogma_effect_short.rb