Sha256: c76802af862e68adcf6c779053b3405ff45262166388c913cc07fc7e695bfc65

Contents?: true

Size: 420 Bytes

Versions: 2

Compression:

Stored size: 420 Bytes

Contents

# frozen_string_literal: true

require 'forwardable'

module EveOnline
  module ESI
    class ServerStatus < Base
      extend Forwardable

      API_PATH = '/v1/status/'

      def_delegators :model, :as_json, :players, :server_version, :start_time, :vip

      def model
        @model ||= Models::ServerStatus.new(response)
      end

      def scope; end

      def path
        API_PATH
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
eve_online-0.29.0 lib/eve_online/esi/server_status.rb
eve_online-0.28.0 lib/eve_online/esi/server_status.rb