Sha256: 17db62567c55a948728e8cd6536ff362c6b7f54b4e5e0ae2cdbd36585bc9b3d7
Contents?: true
Size: 497 Bytes
Versions: 4
Compression:
Stored size: 497 Bytes
Contents
# frozen_string_literal: true require 'forwardable' module EveOnline module ESI class ServerStatus < Base extend Forwardable API_PATH = '/v1/status/?datasource=%<datasource>s' def_delegators :model, :as_json, :players, :server_version, :start_time, :vip def model @model ||= Models::ServerStatus.new(response) end def scope; end def url format("#{ API_HOST }#{ API_PATH }", datasource: datasource) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems