addict v0.3.0 Addict.Interactors.InsertUser

Summary

Functions

Inserts the schema populated with user_params to the repo

Functions

call(schema, user_params, repo)

Inserts the schema populated with user_params to the repo.

Returns {:ok, user} or {:error, error_message}