Peacemaker.Accounts (Peacemaker v3.3.5-rc.7) View Source
The Accounts context.
Link to this section Summary
Functions
Can create a WealthFit account
Link to this section Types
Specs
Link to this section Functions
Specs
create(create_params()) :: {:ok, Peacemaker.Account.t()}
Can create a WealthFit account
If no :password is given, a temporary password is assigned. The raw-text
password value is assigned to :temp_pw.
Example Usage:
%Peacemaker.Accounts.create(%{
email: "bobmarley@wealthfit.com",
first_name: "Robert",
last_name: "Billbobby"})
Specs
create!(create_params()) :: Peacemaker.Account.t()
Specs
Specs
find_or_create(create_params()) :: Peacemaker.Account.t() | {:ok, Peacemaker.Account.t()}
Specs
find_or_create!(create_params()) :: Peacemaker.Account.t()