Class: Ellen::Handlers::Ping

Inherits:
Base
  • Object
show all
Defined in:
lib/ellen/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 Ellen::Handlers::Base

Instance Method Details

#ping(message) ⇒ Object



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

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