Class: EveOnline::ESI::Models::DogmaAttribute
- Inherits:
-
Base
- Object
- Base
- EveOnline::ESI::Models::DogmaAttribute
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
Instance Method Details
#as_json ⇒ Object
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_value ⇒ Object
38
39
40
|
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 38
def default_value
options['default_value']
end
|
#description ⇒ Object
30
31
32
|
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 30
def description
options['description']
end
|
#display_name ⇒ Object
46
47
48
|
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 46
def display_name
options['display_name']
end
|
#high_is_good ⇒ Object
58
59
60
|
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 58
def high_is_good
options['high_is_good']
end
|
#icon_id ⇒ Object
34
35
36
|
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 34
def icon_id
options['icon_id']
end
|
#id ⇒ Object
22
23
24
|
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 22
def id
options['attribute_id']
end
|
#name ⇒ Object
26
27
28
|
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 26
def name
options['name']
end
|
#published ⇒ Object
42
43
44
|
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 42
def published
options['published']
end
|
#stackable ⇒ Object
54
55
56
|
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 54
def stackable
options['stackable']
end
|
#unit_id ⇒ Object
50
51
52
|
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 50
def unit_id
options['unit_id']
end
|