code_corps v0.0.1 CodeCorps.Category View Source

Represents a category on Code Corps, e.g. “Society” and “Technology”.

Link to this section Summary

Functions

Builds a changeset based on the struct and params

Builds a changeset for creating an category

Link to this section Types

Link to this type t() View Source
t() :: %CodeCorps.Category{__meta__: term(), description: term(), id: term(), inserted_at: term(), name: term(), project_categories: term(), projects: term(), slug: 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 category.