Class: EveOnline::ESI::Resources::ServerStatusResources

Inherits:
Resource
  • Object
show all
Defined in:
lib/eve_online/esi/resources/server_status_resources.rb

Instance Attribute Summary

Attributes inherited from Resource

#client

Instance Method Summary collapse

Methods inherited from Resource

#default_headers, #get_request, #initialize, #post_request, #user_agent

Constructor Details

This class inherits a constructor from EveOnline::ESI::Resources::Resource

Instance Method Details

#infoObject



7
8
9
10
11
# File 'lib/eve_online/esi/resources/server_status_resources.rb', line 7

def info
  response = get_request("status")

  Models::ServerStatus.new(attributes: response.body, headers: response.headers)
end