Skip to content

Instantly share code, notes, and snippets.

@shankardevy

shankardevy/crm.ex Secret

Last active Aug 18, 2017
Embed
What would you like to do?
defmodule Mango.CRM do
alias Mango.CRM.Customer
def build_customer(attrs \\ %{}) do
%Customer{}
|> Customer.changeset(attrs)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment