Resend (resend v0.2.0)

Documentation for Resend.

Link to this section Summary

Functions

Loads config values from the application environment.

Link to this section Types

@type config() :: [api_key: String.t(), base_url: String.t(), client: atom()]

Link to this section Functions

@spec config() :: config()

Loads config values from the application environment.

Config options are as follows:

config :resend, Resend.Client
  api_key: "re_1234567",
  base_url: "https://api.resend.com",
  client: Resend.Client.TeslaClient

The only required config option is :api_key. If you would like to replace the HTTP client used by Resend, configure the :client option. By default, this library uses Tesla, but changing it is as easy as defining your own client module. See the Resend.Client module docs for more info.