Class: Lita::Handlers::Wit
- Inherits:
-
Handler
- Object
- Handler
- Lita::Handlers::Wit
- Defined in:
- lib/lita/handlers/wit.rb
Instance Method Summary collapse
- #handle(payload) ⇒ Object
-
#initialize(robot) ⇒ Wit
constructor
A new instance of Wit.
Constructor Details
Instance Method Details
#handle(payload) ⇒ Object
13 14 15 16 17 |
# File 'lib/lita/handlers/wit.rb', line 13 def handle(payload) = payload[:message] return unless @bickle.you_talking_to_me?() respond() end |