code_corps v0.0.1 CodeCorps.Tasks View Source

Handles special CRUD operations for CodeCorps.Task.

Link to this section Summary

Functions

Performs all actions involved in creating a task on a project

Link to this section Types

Link to this type result() View Source
result() ::
  {:ok, CodeCorps.Task.t()} |
  {:error, Ecto.Changeset.t()} |
  {:error, :github} |
  {:error, :task_not_found}

Link to this section Functions

Link to this function create_task(attributes) View Source
create_task(map()) :: result()

Performs all actions involved in creating a task on a project

Link to this function update_task(task, attributes) View Source
update_task(CodeCorps.Task.t(), map()) :: result()