Sha256: 81021b82cd5d0cb585b6ece75f9568c98ce49df5440dc6805ec14e27ed791645

Contents?: true

Size: 865 Bytes

Versions: 11

Compression:

Stored size: 865 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    module Models
      class DogmaEffectModifier < Base
        def as_json
          {
            domain: domain,
            effect_id: effect_id,
            func: func,
            modified_attribute_id: modified_attribute_id,
            modifying_attribute_id: modifying_attribute_id,
            operator: operator
          }
        end

        def domain
          options['domain']
        end

        def effect_id
          options['effect_id']
        end

        def func
          options['func']
        end

        def modified_attribute_id
          options['modified_attribute_id']
        end

        def modifying_attribute_id
          options['modifying_attribute_id']
        end

        def operator
          options['operator']
        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_modifier.rb
eve_online-0.28.0 lib/eve_online/esi/models/dogma_effect_modifier.rb
eve_online-0.27.0 lib/eve_online/esi/models/dogma_effect_modifier.rb
eve_online-0.26.0 lib/eve_online/esi/models/dogma_effect_modifier.rb
eve_online-0.25.0 lib/eve_online/esi/models/dogma_effect_modifier.rb
eve_online-0.24.0 lib/eve_online/esi/models/dogma_effect_modifier.rb
eve_online-0.23.0 lib/eve_online/esi/models/dogma_effect_modifier.rb
eve_online-0.22.0 lib/eve_online/esi/models/dogma_effect_modifier.rb
eve_online-0.21.0 lib/eve_online/esi/models/dogma_effect_modifier.rb
eve_online-0.20.0 lib/eve_online/esi/models/dogma_effect_modifier.rb
eve_online-0.19.0 lib/eve_online/esi/models/dogma_effect_modifier.rb