Class: Ruboty::Handlers::Hubot

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

Instance Method Summary collapse

Instance Method Details

#hear(message) ⇒ Object



7
8
9
# File 'lib/ruboty/handlers/hubot.rb', line 7

def hear(message)
  Ruboty::Hubot::Actions::Hear.new(message).call
end

#respond(message) ⇒ Object



11
12
13
# File 'lib/ruboty/handlers/hubot.rb', line 11

def respond(message)
  Ruboty::Hubot::Actions::Respond.new(message).call
end