Class: Webhooks::BaseController

Inherits:
ActionController::API
  • Object
show all
Defined in:
app/controllers/webhooks/base_controller.rb

Overview

Base controller for all webhook endpoints.
Inherits from ActionController::API for minimal overhead.

Best Practices implemented:

  • No CSRF (webhooks don't have browser sessions)
  • Minimal processing (ingest fast, process later)
  • Error handling that allows provider retries