diff --git a/src/Rossedman/Teamwork/Task.php b/src/Rossedman/Teamwork/Task.php index 930ec9d..9707f2d 100644 --- a/src/Rossedman/Teamwork/Task.php +++ b/src/Rossedman/Teamwork/Task.php @@ -58,4 +58,15 @@ public function timeTotal() { return $this->client->get("$this->endpoint/$this->id/time/total")->response(); } + + /** + * Edit A Task + * PUT tasks/{id}.json + * + * @return mixed + */ + public function edit($args) + { + return $this->client->put("$this->endpoint/$this->id.json", ['todo-item' => $args])->response(); + } } \ No newline at end of file