class EveOnline::ESI::Models::Stargate
Public Instance Methods
as_json()
click to toggle source
# File lib/eve_online/esi/models/stargate.rb, line 7 def as_json { name: name, stargate_id: stargate_id, system_id: system_id, type_id: type_id, destination_stargate_id: destination_stargate_id, destination_system_id: destination_system_id } end
destination_stargate_id()
click to toggle source
# File lib/eve_online/esi/models/stargate.rb, line 34 def destination_stargate_id options.dig("destination", "stargate_id") end
destination_system_id()
click to toggle source
# File lib/eve_online/esi/models/stargate.rb, line 38 def destination_system_id options.dig("destination", "system_id") end
name()
click to toggle source
# File lib/eve_online/esi/models/stargate.rb, line 18 def name options["name"] end
position()
click to toggle source
# File lib/eve_online/esi/models/stargate.rb, line 42 def position @position ||= Position.new(options["position"]) end
stargate_id()
click to toggle source
# File lib/eve_online/esi/models/stargate.rb, line 22 def stargate_id options["stargate_id"] end
system_id()
click to toggle source
# File lib/eve_online/esi/models/stargate.rb, line 26 def system_id options["system_id"] end
type_id()
click to toggle source
# File lib/eve_online/esi/models/stargate.rb, line 30 def type_id options["type_id"] end