Class: NewEden::API::Map

Inherits:
Base
  • Object
show all
Defined in:
lib/new_eden/api/map.rb

Instance Attribute Summary

Attributes inherited from Base

#client

Instance Method Summary collapse

Methods inherited from Base

#api_call, #initialize

Constructor Details

This class inherits a constructor from NewEden::API::Base

Instance Method Details

#faction_wars(opts = {}) ⇒ Object



6
7
8
# File 'lib/new_eden/api/map.rb', line 6

def faction_wars(opts = {})
  return api_call('/Map/FacWarSystems', opts)
end

#jumps(opts = {}) ⇒ Object



10
11
12
# File 'lib/new_eden/api/map.rb', line 10

def jumps(opts = {})
  return api_call('/Map/Jumps', opts)
end

#kills(opts = {}) ⇒ Object



14
15
16
# File 'lib/new_eden/api/map.rb', line 14

def kills(opts = {})
  return api_call('/Map/Kills', opts)
end

#sovereignties(opts = {}) ⇒ Object



18
19
20
# File 'lib/new_eden/api/map.rb', line 18

def sovereignties(opts = {})
  return api_call('/Map/Sovereignty', opts)
end