Module: Hector::Commands::Ping

Included in:
Session
Defined in:
lib/hector/commands/ping.rb

Instance Method Summary collapse

Instance Method Details

#on_pingObject



4
5
6
# File 'lib/hector/commands/ping.rb', line 4

def on_ping
  respond_with(:pong, Hector.server_name, :source => Hector.server_name, :text => request.text)
end