Class: EveOnline::ESI::Models::DogmaEffects

Inherits:
Base
  • Object
show all
Defined in:
lib/eve_online/esi/models/dogma_effects.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

#dogma_effectsObject



7
8
9
10
11
12
13
14
15
16
17
# File 'lib/eve_online/esi/models/dogma_effects.rb', line 7

def dogma_effects
  output = []

  return output unless options.is_a?(Array)

  options.each do |dogma_effect_short|
    output << DogmaEffectShort.new(dogma_effect_short)
  end

  output
end