View Source ExNylas.Providers (ExNylas v0.9.0)
Interface for Nylas providers.
Summary
Functions
@spec detect(ExNylas.Connection.t(), Keyword.t() | list()) :: {:ok, ExNylas.Response.t()} | {:error, ExNylas.Response.t()}
Detect the provider for an email address.
Examples
iex> {:ok, detect} = ExNylas.Providers.detect(conn, %{email: email} = _params)
@spec detect!(ExNylas.Connection.t(), Keyword.t() | list()) :: ExNylas.Response.t()
Detect the provider for an email address.
Examples
iex> detect = ExNylas.Providers.detect(conn, %{email: email} = _params)