Class: Bot::BotController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Bot::BotController
- Defined in:
- app/controllers/bot/bot_controller.rb
Instance Method Summary collapse
Instance Method Details
#notify ⇒ Object
4 5 6 7 8 |
# File 'app/controllers/bot/bot_controller.rb', line 4 def notify @responses = bot_handler.handle().compact adapter.(@responses, bot_username) if @responses.present? render json: [] end |