Class: EveOnline::ESI::Models::PlanetShort
- Inherits:
-
Base
- Object
- Base
- EveOnline::ESI::Models::PlanetShort
show all
- Defined in:
- lib/eve_online/esi/models/planet_short.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
|
# File 'lib/eve_online/esi/models/planet_short.rb', line 7
def as_json
{
planet_id: planet_id
}
end
|
#asteroid_belt_ids ⇒ Object
17
18
19
|
# File 'lib/eve_online/esi/models/planet_short.rb', line 17
def asteroid_belt_ids
options.fetch("asteroid_belts", [])
end
|
#moon_ids ⇒ Object
21
22
23
|
# File 'lib/eve_online/esi/models/planet_short.rb', line 21
def moon_ids
options.fetch("moons", [])
end
|
#planet_id ⇒ Object
13
14
15
|
# File 'lib/eve_online/esi/models/planet_short.rb', line 13
def planet_id
options["planet_id"]
end
|