DripDrop.Policy.RampCap (DripDrop v0.1.0)

Copy Markdown View Source

Outbound-only daily cap enforcement using adapter ramp state.

Summary

Functions

Defers when the adapter has already used today's effective cap.

Functions

check(context, adapter)

@spec check(map(), Ecto.Schema.t()) :: :ok | {:defer, DateTime.t(), map()}

Defers when the adapter has already used today's effective cap.