Resend.Client behaviour (resend v0.2.0)
Resend API client.
Link to this section Summary
Functions
Returns a new Resend client struct.
Link to this section Types
Link to this type
response(type)
@type response(type) :: {:ok, type} | {:error, Resend.Error.t() | :client_error}
Link to this section Callbacks
Link to this callback
post(t, t, map)
Link to this section Functions
Link to this function
new(config \\ Resend.config())
@spec new(Resend.config()) :: t()
Returns a new Resend client struct.
Accepts a keyword list of config opts, though if omitted then it will attempt to load them from the application environment.
Link to this function