Class: EveOnline::ESI::Models::CharacterLocation

Inherits:
Base
  • Object
show all
Defined in:
lib/eve_online/esi/models/character_location.rb

Instance Attribute Summary

Attributes inherited from Base

#options

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from EveOnline::ESI::Models::Base

Instance Method Details

#as_jsonObject



7
8
9
10
11
12
13
# File 'lib/eve_online/esi/models/character_location.rb', line 7

def as_json
  {
    solar_system_id: solar_system_id,
    station_id: station_id,
    structure_id: structure_id
  }
end

#solar_system_idObject



15
16
17
# File 'lib/eve_online/esi/models/character_location.rb', line 15

def solar_system_id
  options["solar_system_id"]
end

#station_idObject



19
20
21
# File 'lib/eve_online/esi/models/character_location.rb', line 19

def station_id
  options["station_id"]
end

#structure_idObject



23
24
25
# File 'lib/eve_online/esi/models/character_location.rb', line 23

def structure_id
  options["structure_id"]
end