diff --git a/src/Rossedman/Teamwork/Project.php b/src/Rossedman/Teamwork/Project.php index 30cadda..2c8fbf4 100644 --- a/src/Rossedman/Teamwork/Project.php +++ b/src/Rossedman/Teamwork/Project.php @@ -149,6 +149,17 @@ public function milestones($args = null) public function createMilestone($args) { return $this->client->post("$this->endpoint/$this->id/milestones", ['milestone' => $args])->response(); } + + /** + * Tasklists + * GET /projects/{project_id}/tasks.json + * + * @return [type] [description] + */ + public function tasks($args = null) + { + return $this->client->get("$this->endpoint/$this->id/tasks", $args)->response(); + } /** * Create tasklist associated with this project