Class: EveOnline::ESI::Models::Search
- Inherits:
-
Object
- Object
- Object
- EveOnline::ESI::Models::Search
show all
- Defined in:
- lib/eve_online/esi/models/search.rb
Instance Attribute Summary
Attributes inherited from Object
#attributes, #body, #headers
Instance Method Summary
collapse
Methods inherited from Object
#initialize, #method_missing, #respond_to_missing?
#cache_status, #error_limit_remain, #error_limit_reset, #etag, #ratelimit_group, #ratelimit_limit, #ratelimit_remaining, #ratelimit_used, #request_id, #total_pages
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class EveOnline::ESI::Object
Instance Method Details
#agent_ids ⇒ Object
23
24
25
|
# File 'lib/eve_online/esi/models/search.rb', line 23
def agent_ids
attributes.agent || []
end
|
#alliance_ids ⇒ Object
27
28
29
|
# File 'lib/eve_online/esi/models/search.rb', line 27
def alliance_ids
attributes.alliance || []
end
|
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# File 'lib/eve_online/esi/models/search.rb', line 7
def as_json
{
agent_ids: agent_ids,
alliance_ids: alliance_ids,
character_ids: character_ids,
constellation_ids: constellation_ids,
corporation_ids: corporation_ids,
faction_ids: faction_ids,
inventory_type_ids: inventory_type_ids,
region_ids: region_ids,
solar_system_ids: solar_system_ids,
station_ids: station_ids,
structure_ids: structure_ids
}
end
|
#character_ids ⇒ Object
31
32
33
|
# File 'lib/eve_online/esi/models/search.rb', line 31
def character_ids
attributes.character || []
end
|
#constellation_ids ⇒ Object
35
36
37
|
# File 'lib/eve_online/esi/models/search.rb', line 35
def constellation_ids
attributes.constellation || []
end
|
#corporation_ids ⇒ Object
39
40
41
|
# File 'lib/eve_online/esi/models/search.rb', line 39
def corporation_ids
attributes.corporation || []
end
|
#faction_ids ⇒ Object
43
44
45
|
# File 'lib/eve_online/esi/models/search.rb', line 43
def faction_ids
attributes.faction || []
end
|
#inventory_type_ids ⇒ Object
47
48
49
|
# File 'lib/eve_online/esi/models/search.rb', line 47
def inventory_type_ids
attributes.inventory_type || []
end
|
#region_ids ⇒ Object
51
52
53
|
# File 'lib/eve_online/esi/models/search.rb', line 51
def region_ids
attributes.region || []
end
|
#solar_system_ids ⇒ Object
55
56
57
|
# File 'lib/eve_online/esi/models/search.rb', line 55
def solar_system_ids
attributes.solar_system || []
end
|
#station_ids ⇒ Object
59
60
61
|
# File 'lib/eve_online/esi/models/search.rb', line 59
def station_ids
attributes.station || []
end
|
#structure_ids ⇒ Object
63
64
65
|
# File 'lib/eve_online/esi/models/search.rb', line 63
def structure_ids
attributes.structure || []
end
|