Sha256: 90b795abdbf50da94d6170456a6675b9c087e619a4ac7a648a8cdb4729edd270
Contents?: true
Size: 665 Bytes
Versions: 13
Compression:
Stored size: 665 Bytes
Contents
# frozen_string_literal: true module EveOnline module ESI module Models class ServerStatus < Base def as_json { players: players, server_version: server_version, start_time: start_time, vip: vip } end def players options['players'] end def server_version options['server_version'] end def start_time start_time = options['start_time'] parse_datetime_with_timezone(start_time) if start_time end def vip options['vip'] end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems