Class: Mogreet::System

Inherits:
Object
  • Object
show all
Defined in:
lib/mogreet/system.rb

Instance Method Summary collapse

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(options = {})
  @client.get_request('/moms/system.ping')      
end