Class: EveOnline::ESI::UniverseFactions
- Inherits:
-
Base
- Object
- Base
- EveOnline::ESI::UniverseFactions
show all
- Defined in:
- lib/eve_online/esi/universe_factions.rb
Constant Summary
collapse
- API_PATH =
"/v2/universe/factions/"
Constants inherited
from Base
Base::API_HOST
Instance Attribute Summary
Attributes inherited from Base
#_open_timeout, #_read_timeout, #_write_timeout, #adapter, #language, #middlewares, #token
Instance Method Summary
collapse
Methods inherited from Base
#add_middleware, #base_query_params, #connection, #error_limit_remain, #error_limit_reset, #http_method, #initialize, #open_timeout, #open_timeout=, #page, #query, #read_timeout, #read_timeout=, #request_id, #resource, #response, #total_pages, #uri, #url, #user_agent, #write_timeout, #write_timeout=
Instance Method Details
#additional_query_params ⇒ Object
22
23
24
|
# File 'lib/eve_online/esi/universe_factions.rb', line 22
def additional_query_params
[:language]
end
|
#factions ⇒ Object
8
9
10
11
12
13
14
15
16
17
|
# File 'lib/eve_online/esi/universe_factions.rb', line 8
def factions
@factions ||=
begin
output = []
response.each do |faction|
output << Models::Faction.new(faction)
end
output
end
end
|
#path ⇒ Object
26
27
28
|
# File 'lib/eve_online/esi/universe_factions.rb', line 26
def path
API_PATH
end
|
#scope ⇒ Object
19
20
|
# File 'lib/eve_online/esi/universe_factions.rb', line 19
def scope
end
|