code_corps v0.0.1 CodeCorps.Organizations View Source

Link to this section Summary

Functions

Creates a CodeCorps.Organization from a set of parameters, fulfilling the associated CodeCorps.OrganizationInvite, if it exists, by associating it with the created record

Link to this section Functions

Link to this function create(params) View Source
create(map()) ::
  {:ok, CodeCorps.Organization.t()} |
  {:error, Ecto.Changeset.t()}

Creates a CodeCorps.Organization from a set of parameters, fulfilling the associated CodeCorps.OrganizationInvite, if it exists, by associating it with the created record.