AshBilling.WebhookEvent (ash_billing v0.1.1)

Copy Markdown View Source

A Spark DSL extension for Ash resources representing processed webhook events.

Used for multi-node / distributed webhook deduplication across clustered application servers.

Usage

defmodule MyApp.Billing.WebhookEvent do
  use Ash.Resource,
    domain: MyApp.Billing,
    extensions: [AshBilling.WebhookEvent]
end

Summary

Functions

billing_webhook_event(body)

(macro)