Class: EveCrest::Response::Moon
Instance Attribute Summary
Attributes inherited from BaseResponse
#data
Instance Method Summary
collapse
#cached_until, #error_message, #initialize, #raw, #success?
Instance Method Details
#name ⇒ Object
7
8
9
|
# File 'lib/responses/moon.rb', line 7
def name
data['name']
end
|
#position ⇒ Object
4
5
6
|
# File 'lib/responses/moon.rb', line 4
def position
data['position']
end
|
#solar_system ⇒ Object
13
14
15
|
# File 'lib/responses/moon.rb', line 13
def solar_system
data['solarSystem']['id']
end
|
#type ⇒ Object
10
11
12
|
# File 'lib/responses/moon.rb', line 10
def type
data['type']['id']
end
|