Class: EveOnline::ESI::Models::Race
- Inherits:
-
Base
- Object
- Base
- EveOnline::ESI::Models::Race
show all
- Defined in:
- lib/eve_online/esi/models/race.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
|
# File 'lib/eve_online/esi/models/race.rb', line 7
def as_json
{
faction_id: faction_id,
description: description,
name: name,
race_id: race_id
}
end
|
#description ⇒ Object
20
21
22
|
# File 'lib/eve_online/esi/models/race.rb', line 20
def description
options["description"]
end
|
#faction_id ⇒ Object
16
17
18
|
# File 'lib/eve_online/esi/models/race.rb', line 16
def faction_id
options["alliance_id"]
end
|
#name ⇒ Object
24
25
26
|
# File 'lib/eve_online/esi/models/race.rb', line 24
def name
options["name"]
end
|
#race_id ⇒ Object
28
29
30
|
# File 'lib/eve_online/esi/models/race.rb', line 28
def race_id
options["race_id"]
end
|