code_corps v0.0.1 CodeCorps.Organization View Source

Represents an organization on Code Corps, e.g. “Code Corps” itself.

Link to this section Summary

Functions

Builds a changeset based on the struct and params

Builds a changeset for creating an organization

Link to this section Types

Link to this type t() View Source
t() :: %CodeCorps.Organization{__meta__: term(), approved: term(), cloudinary_public_id: term(), default_color: term(), description: term(), id: term(), inserted_at: term(), invite_code: term(), name: term(), organization_github_app_installations: term(), organization_invite: term(), owner: term(), owner_id: term(), projects: term(), slug: term(), slugged_route: term(), stripe_connect_account: term(), updated_at: term()}

Link to this section Functions

Link to this function changeset(struct, params \\ %{}) View Source

Builds a changeset based on the struct and params.

Link to this function create_changeset(struct, params) View Source

Builds a changeset for creating an organization.

Link to this function update_changeset(struct, params \\ %{}) View Source
update_changeset(struct(), map()) :: Ecto.Changeset.t()