Class: EveCrest::Response::SolarSystems
Instance Attribute Summary
Attributes inherited from BaseResponse
#data
Instance Method Summary
collapse
#cached_until, #error_message, #initialize, #raw, #success?
Instance Method Details
#solar_system_ids ⇒ Object
4
5
6
7
8
9
10
11
|
# File 'lib/responses/solar_systems.rb', line 4
def solar_system_ids
_solar_system = Array.new
data['items'].each do |s|
_solar_system.push(s['id'])
end
_solar_system
end
|
#solar_system_names ⇒ Object
12
13
14
15
16
17
18
19
|
# File 'lib/responses/solar_systems.rb', line 12
def solar_system_names
_solar_system = Array.new
data['items'].each do |s|
_solar_system.push(s['name'])
end
_solar_system
end
|
#total_count ⇒ Object
20
21
22
|
# File 'lib/responses/solar_systems.rb', line 20
def total_count
data['totalCount']
end
|