Class: NoCheckout::WebhooksController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/nocheckout/webhooks_controller.rb

Direct Known Subclasses

Stripe::WebhooksController

Constant Summary collapse

UnhandledWebhookError =

Raised when a method is not implemented on the webhook that’s needed to handle the hook.

Class.new(RuntimeError)

Instance Method Summary collapse

Instance Method Details

#createObject



11
12
13
14
# File 'app/controllers/nocheckout/webhooks_controller.rb', line 11

def create
  dispatch_webhook
  head :no_content
end