Class: Ruboty::Handlers::Whoami

Inherits:
Base
  • Object
show all
Defined in:
lib/ruboty/handlers/whoami.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

#whoami(message) ⇒ Object


10
11
12
# File 'lib/ruboty/handlers/whoami.rb', line 10

def whoami(message)
  Ruboty::Actions::Whoami.new(message).call
end