Class: Mogreet::System
- Inherits:
-
Object
- Object
- Mogreet::System
- Defined in:
- lib/mogreet/system.rb
Instance Method Summary collapse
-
#initialize(client) ⇒ System
constructor
A new instance of System.
- #ping(options = {}) ⇒ Object
Constructor Details
#initialize(client) ⇒ System
Returns a new instance of System.
3 4 5 |
# File 'lib/mogreet/system.rb', line 3 def initialize(client) @client = client end |
Instance Method Details
#ping(options = {}) ⇒ Object
6 7 8 |
# File 'lib/mogreet/system.rb', line 6 def ping( = {}) @client.get_request('/moms/system.ping') end |