Class: EveOnline::ESI::Models::Ancestry
- Inherits:
-
Base
- Object
- Base
- EveOnline::ESI::Models::Ancestry
show all
- Defined in:
- lib/eve_online/esi/models/ancestry.rb
Instance Attribute Summary
Attributes inherited from Base
#options
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#ancestry_id ⇒ Object
18
19
20
|
# File 'lib/eve_online/esi/models/ancestry.rb', line 18
def ancestry_id
options['id']
end
|
#as_json ⇒ Object
7
8
9
10
11
12
13
14
15
16
|
# File 'lib/eve_online/esi/models/ancestry.rb', line 7
def as_json
{
ancestry_id: ancestry_id,
name: name,
bloodline_id: bloodline_id,
description: description,
short_description: short_description,
icon_id: icon_id
}
end
|
#bloodline_id ⇒ Object
26
27
28
|
# File 'lib/eve_online/esi/models/ancestry.rb', line 26
def bloodline_id
options['bloodline_id']
end
|
#description ⇒ Object
30
31
32
|
# File 'lib/eve_online/esi/models/ancestry.rb', line 30
def description
options['description']
end
|
#icon_id ⇒ Object
38
39
40
|
# File 'lib/eve_online/esi/models/ancestry.rb', line 38
def icon_id
options['icon_id']
end
|
#name ⇒ Object
22
23
24
|
# File 'lib/eve_online/esi/models/ancestry.rb', line 22
def name
options['name']
end
|
#short_description ⇒ Object
34
35
36
|
# File 'lib/eve_online/esi/models/ancestry.rb', line 34
def short_description
options['short_description']
end
|