Class: EveCrest::Response::Server

Inherits:
BaseResponse show all
Defined in:
lib/responses/server.rb

Instance Attribute Summary

Attributes inherited from BaseResponse

#data

Instance Method Summary collapse

Methods inherited from BaseResponse

#cached_until, #error_message, #initialize, #raw, #success?

Constructor Details

This class inherits a constructor from EveCrest::BaseResponse

Instance Method Details

#server_nameObject



7
8
9
# File 'lib/responses/server.rb', line 7

def server_name
  data['serverName']
end

#statusObject



10
11
12
# File 'lib/responses/server.rb', line 10

def status
  data['serviceStatus']
end

#user_countObject



13
14
15
# File 'lib/responses/server.rb', line 13

def user_count
  data['userCount']
end

#versionObject



4
5
6
# File 'lib/responses/server.rb', line 4

def version
  data['serverVersion']
end