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
{
attribute_id: attribute_id,
default_value: default_value,
description: description,
display_name: display_name,
high_is_good: high_is_good,
icon_id: icon_id,
name: name,
published: published,
stackable: stackable,
unit_id: unit_id
}
end
|
#attribute_id ⇒ Object
22
23
24
|
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 22
def attribute_id
options["attribute_id"]
end
|
#default_value ⇒ Object
26
27
28
|
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 26
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
34
35
36
|
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 34
def display_name
options["display_name"]
end
|
#high_is_good ⇒ Object
38
39
40
|
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 38
def high_is_good
options["high_is_good"]
end
|
#icon_id ⇒ Object
42
43
44
|
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 42
def icon_id
options["icon_id"]
end
|
#name ⇒ Object
46
47
48
|
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 46
def name
options["name"]
end
|
#published ⇒ Object
50
51
52
|
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 50
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
58
59
60
|
# File 'lib/eve_online/esi/models/dogma_attribute.rb', line 58
def unit_id
options["unit_id"]
end
|