code_corps v0.0.1 CodeCorps.ProjectUser View Source
Represents a membership of a user in a project.
Link to this section Summary
Functions
Builds a changeset to create a pending membership
Builds a changeset to create an owner membership
Builds a changeset for updating a record. Only the role can be updated
Link to this section Types
Link to this type
t()
View Source
t() :: %CodeCorps.ProjectUser{__meta__: term(), id: term(), inserted_at: term(), project: term(), project_id: term(), role: term(), updated_at: term(), user: term(), user_id: term()}
Link to this section Functions
Builds a changeset to create a pending membership
Builds a changeset to create an owner membership
Builds a changeset for updating a record. Only the role can be updated.