Class: MobileWorkflow::SnsNotificationsController
- Inherits:
-
ActionController::API
- Object
- ActionController::API
- MobileWorkflow::SnsNotificationsController
- Defined in:
- app/controllers/mobile_workflow/sns_notifications_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
6 7 8 9 10 11 12 13 14 15 |
# File 'app/controllers/mobile_workflow/sns_notifications_controller.rb', line 6 def create Rails.logger.info("Message body: #{message_body}") case ['Type'] when 'SubscriptionConfirmation' confirm_subscription ? (head :ok) : (head :bad_request) else end end |