Class: EveOnline::ESI::Models::DogmaAttributeShort

Inherits:
Base
  • Object
show all
Defined in:
lib/eve_online/esi/models/dogma_attribute_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_attribute_short.rb', line 7

def as_json
  {
    attribute_id: attribute_id,
    value: value
  }
end

#attribute_idObject



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

def attribute_id
  options["attribute_id"]
end

#valueObject



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

def value
  options["value"]
end