Class: EveOnline::ESI::Factions
- Inherits:
-
Base
- Object
- Base
- EveOnline::ESI::Factions
show all
- Defined in:
- lib/eve_online/esi/factions.rb
Constant Summary
collapse
- API_ENDPOINT =
'https://esi.tech.ccp.is/v2/universe/factions/?datasource=tranquility&language=en-us'
Instance Attribute Summary
Attributes inherited from Base
#parser, #token
Instance Method Summary
collapse
Methods inherited from Base
#content, #initialize, #response, #user_agent
Instance Method Details
#factions ⇒ Object
8
9
10
11
12
13
14
|
# File 'lib/eve_online/esi/factions.rb', line 8
def factions
output = []
response.each do |faction|
output << Models::Faction.new(faction)
end
output
end
|
#scope ⇒ Object
17
|
# File 'lib/eve_online/esi/factions.rb', line 17
def scope; end
|
#url ⇒ Object
19
20
21
|
# File 'lib/eve_online/esi/factions.rb', line 19
def url
API_ENDPOINT
end
|