Class: EveOnline::ESI::Models::DogmaAttribute

Inherits:
Base
  • Object
show all
Defined in:
lib/eve_online/esi/models/dogma_attribute.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
13
14
15
16
17
18
19
20
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 7

def as_json
  {
    id: id,
    name: name,
    description: description,
    icon_id: icon_id,
    default_value: default_value,
    published: published,
    display_name: display_name,
    unit_id: unit_id,
    stackable: stackable,
    high_is_good: high_is_good
  }
end

#default_valueObject



38
39
40
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 38

def default_value
  options['default_value']
end

#descriptionObject



30
31
32
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 30

def description
  options['description']
end

#display_nameObject



46
47
48
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 46

def display_name
  options['display_name']
end

#high_is_goodObject



58
59
60
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 58

def high_is_good
  options['high_is_good']
end

#icon_idObject



34
35
36
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 34

def icon_id
  options['icon_id']
end

#idObject



22
23
24
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 22

def id
  options['attribute_id']
end

#nameObject



26
27
28
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 26

def name
  options['name']
end

#publishedObject



42
43
44
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 42

def published
  options['published']
end

#stackableObject



54
55
56
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 54

def stackable
  options['stackable']
end

#unit_idObject



50
51
52
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 50

def unit_id
  options['unit_id']
end