Class: Esi::Calls::CharacterLocation

Inherits:
Base
  • Object
show all
Defined in:
lib/esi/calls/location.rb

Overview

Get the character’s current location

Returns:

  • (Hash)
    • :solar_system_id [Integer]

    • :station_id [Integer, nil]

    • :structure_id [Integer, nil]

See Also:

Constant Summary

Constants inherited from Base

Base::CACHE_NAMESPACE

Instance Attribute Summary

Attributes inherited from Base

#params, #path

Instance Method Summary collapse

Methods inherited from Base

#cache_key, #method, #page, #page=, #paginated?, #url

Constructor Details

#initialize(character_id) ⇒ CharacterLocation

Returns a new instance of CharacterLocation.



37
38
39
# File 'lib/esi/calls/location.rb', line 37

def initialize(character_id)
  @path = "/characters/#{character_id}/location"
end