Class: Greeve::Server::ServerStatus
- Defined in:
- lib/greeve/server/server_status.rb
Overview
Note:
Provides status of the server and the number of users logged in.
Attributes collapse
Methods inherited from BaseItem
attribute, #cache_expired?, #cached_until, endpoint, #initialize, #inspect, namespace, #refresh, rowset, #to_s
Methods included from Helpers::AttributeToHash
Constructor Details
This class inherits a constructor from Greeve::BaseItem
Instance Method Details
#online_players ⇒ Integer
12 |
# File 'lib/greeve/server/server_status.rb', line 12 attribute :online_players, xpath: "eveapi/result/onlinePlayers/?[0]", type: :integer |
#server_open ⇒ Object
11 |
# File 'lib/greeve/server/server_status.rb', line 11 attribute :server_open, xpath: "eveapi/result/serverOpen/?[0]", type: :boolean |