Class: EveCrest::Response::Server
Instance Attribute Summary
Attributes inherited from BaseResponse
#data
Instance Method Summary
collapse
#cached_until, #error_message, #initialize, #raw, #success?
Instance Method Details
#server_name ⇒ Object
7
8
9
|
# File 'lib/responses/server.rb', line 7
def server_name
data['serverName']
end
|
#status ⇒ Object
10
11
12
|
# File 'lib/responses/server.rb', line 10
def status
data['serviceStatus']
end
|
#user_count ⇒ Object
13
14
15
|
# File 'lib/responses/server.rb', line 13
def user_count
data['userCount']
end
|
#version ⇒ Object
4
5
6
|
# File 'lib/responses/server.rb', line 4
def version
data['serverVersion']
end
|