class Esi::Calls::CharacterOnline

Get the character's online status @see esi.evetech.net/ui/#/Location/get_characters_character_id_online

@param [Integer] character id to fetch the data from

@return [Hash]

* :online [Boolean] If the character is online
* :last_login [String, nil] Timestamp of the last login
* :last_logout [String, nil] Timestamp of the last logout
* :logins [Integer, nil] Total number of times the character has logged in

Public Class Methods

new(character_id) click to toggle source
# File lib/esi/calls/location.rb, line 19
def initialize(character_id)
  @path = "/characters/#{character_id}/online"
end