Class: Ruboty::Handlers::Ping

Inherits:
Base
  • Object
show all
Defined in:
lib/ruboty/handlers/ping.rb

Instance Attribute Summary

Attributes inherited from Base

#robot

Instance Method Summary collapse

Methods inherited from Base

actions, #call, inherited, #initialize, on

Methods included from Env::Validatable

#validate, #validate!

Constructor Details

This class inherits a constructor from Ruboty::Handlers::Base

Instance Method Details

#ping(message) ⇒ Object


6
7
8
# File 'lib/ruboty/handlers/ping.rb', line 6

def ping(message)
  Ruboty::Actions::Ping.new(message).call
end