View Source ExNylas.Providers (ExNylas v0.9.0)

Interface for Nylas providers.

Nylas docs

Summary

Functions

Detect the provider for an email address.

Detect the provider for an email address.

Functions

Link to this function

detect(conn, params \\ [])

View Source
@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)
Link to this function

detect!(conn, params \\ [])

View Source
@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)