code_corps v0.0.1 CodeCorps.Role View Source

This module defines a “role” on Code Corps.

Examples of roles are “Backend Developer” and “Front End Developer”.

Link to this section Summary

Functions

Builds a changeset based on the struct and params

Link to this section Types

Link to this type t() View Source
t() :: %CodeCorps.Role{__meta__: term(), ability: term(), id: term(), inserted_at: term(), kind: term(), name: term(), role_skills: term(), skills: term(), updated_at: term()}

Link to this section Functions

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

Builds a changeset based on the struct and params.