Class: Esendex::InboundMessagesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Esendex::InboundMessagesController
- Includes:
- PushNotificationHandler
- Defined in:
- app/controllers/esendex/inbound_messages_controller.rb
Instance Method Summary collapse
Methods included from PushNotificationHandler
#process_notification, #render_error
Instance Method Details
#create ⇒ Object
5 6 7 8 9 10 |
# File 'app/controllers/esendex/inbound_messages_controller.rb', line 5 def create process_notification :inbound_message, request.body render text: "OK" rescue => e render_error e end |