Class: EveOnline::ESI::Models::Search
- Inherits:
-
Base
- Object
- Base
- EveOnline::ESI::Models::Search
show all
- Defined in:
- lib/eve_online/esi/models/search.rb
Instance Attribute Summary
Attributes inherited from Base
#options
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#agent_ids ⇒ Object
22
23
24
|
# File 'lib/eve_online/esi/models/search.rb', line 22
def agent_ids
options.fetch("agent", [])
end
|
#alliance_ids ⇒ Object
26
27
28
|
# File 'lib/eve_online/esi/models/search.rb', line 26
def alliance_ids
options.fetch("alliance", [])
end
|
#as_json ⇒ Object
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# 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
}
end
|
#character_ids ⇒ Object
30
31
32
|
# File 'lib/eve_online/esi/models/search.rb', line 30
def character_ids
options.fetch("character", [])
end
|
#constellation_ids ⇒ Object
34
35
36
|
# File 'lib/eve_online/esi/models/search.rb', line 34
def constellation_ids
options.fetch("constellation", [])
end
|
#corporation_ids ⇒ Object
38
39
40
|
# File 'lib/eve_online/esi/models/search.rb', line 38
def corporation_ids
options.fetch("corporation", [])
end
|
#faction_ids ⇒ Object
42
43
44
|
# File 'lib/eve_online/esi/models/search.rb', line 42
def faction_ids
options.fetch("faction", [])
end
|
#inventory_type_ids ⇒ Object
46
47
48
|
# File 'lib/eve_online/esi/models/search.rb', line 46
def inventory_type_ids
options.fetch("inventory_type", [])
end
|
#region_ids ⇒ Object
50
51
52
|
# File 'lib/eve_online/esi/models/search.rb', line 50
def region_ids
options.fetch("region", [])
end
|
#solar_system_ids ⇒ Object
54
55
56
|
# File 'lib/eve_online/esi/models/search.rb', line 54
def solar_system_ids
options.fetch("solar_system", [])
end
|
#station_ids ⇒ Object
58
59
60
|
# File 'lib/eve_online/esi/models/search.rb', line 58
def station_ids
options.fetch("stations", [])
end
|