Class: Pay::Webhooks::StripeController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Pay::Webhooks::StripeController
- Defined in:
- app/controllers/pay/webhooks/stripe_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
8 9 10 11 12 13 14 |
# File 'app/controllers/pay/webhooks/stripe_controller.rb', line 8 def create queue_event(verified_event) head :ok rescue ::Stripe::SignatureVerificationError => e log_error(e) head :bad_request end |