class EveOnline::ESI::Models::Planet

Public Instance Methods

as_json() click to toggle source
# File lib/eve_online/esi/models/planet.rb, line 7
def as_json
  {
    name: name,
    planet_id: planet_id,
    system_id: system_id,
    type_id: type_id
  }
end
name() click to toggle source
# File lib/eve_online/esi/models/planet.rb, line 16
def name
  options["name"]
end
planet_id() click to toggle source
# File lib/eve_online/esi/models/planet.rb, line 20
def planet_id
  options["planet_id"]
end
position() click to toggle source
# File lib/eve_online/esi/models/planet.rb, line 32
def position
  @position ||= Position.new(options["position"])
end
system_id() click to toggle source
# File lib/eve_online/esi/models/planet.rb, line 24
def system_id
  options["system_id"]
end
type_id() click to toggle source
# File lib/eve_online/esi/models/planet.rb, line 28
def type_id
  options["type_id"]
end