View Source Rivet.Ident.Email.Lib (rivet_ident v2.3.1)

Link to this section Summary

Functions

Helper function which accepts either user_id or user, and calls the passed function with the user model loaded including any preloads. Send preloads as [] if none are desired.

Link to this section Types

@type ecto_p_result() :: {:ok | :error, Ecto.Changeset.t()}
@type model_p_result() :: {:ok, Rivet.Ident.Email.t()}

Link to this section Functions

Link to this function

with_email(email, preloads, func)

View Source

Helper function which accepts either user_id or user, and calls the passed function with the user model loaded including any preloads. Send preloads as [] if none are desired.