class EveOnline::ESI::Models::ServerStatus

Public Instance Methods

as_json() click to toggle source
# File lib/eve_online/esi/models/server_status.rb, line 7
def as_json
  {
    players: players,
    server_version: server_version,
    start_time: start_time,
    vip: vip
  }
end
players() click to toggle source
# File lib/eve_online/esi/models/server_status.rb, line 16
def players
  options["players"]
end
server_version() click to toggle source
# File lib/eve_online/esi/models/server_status.rb, line 20
def server_version
  options["server_version"]
end
start_time() click to toggle source
# File lib/eve_online/esi/models/server_status.rb, line 24
def start_time
  start_time = options["start_time"]

  parse_datetime_with_timezone(start_time) if start_time
end
vip() click to toggle source
# File lib/eve_online/esi/models/server_status.rb, line 30
def vip
  options["vip"]
end