Class: EveOnline::ESI::Models::DogmaEffectShort

Inherits:
Base
  • Object
show all
Defined in:
lib/eve_online/esi/models/dogma_effect_short.rb

Instance Attribute Summary

Attributes inherited from Base

#options

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from EveOnline::ESI::Models::Base

Instance Method Details

#as_jsonObject



7
8
9
10
11
12
# File 'lib/eve_online/esi/models/dogma_effect_short.rb', line 7

def as_json
  {
    effect_id: effect_id,
    is_default: is_default
  }
end

#effect_idObject



14
15
16
# File 'lib/eve_online/esi/models/dogma_effect_short.rb', line 14

def effect_id
  options["effect_id"]
end

#is_defaultObject



18
19
20
# File 'lib/eve_online/esi/models/dogma_effect_short.rb', line 18

def is_default
  options["is_default"]
end