Skip to content

Commit

Permalink
Added get all tasks for specific project
Browse files Browse the repository at this point in the history
  • Loading branch information
Mat-Gr authored Sep 13, 2017
1 parent 1242748 commit 01834bb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Rossedman/Teamwork/Project.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,17 @@ public function tasklists($args = null)
return $this->client->get("$this->endpoint/$this->id/tasklists", $args)->response();
}

/**
* Tasks
* 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();
}

/**
* Emailaddresses
* GET /projects/{project_id}/emailaddress.json
Expand Down

0 comments on commit 01834bb

Please sign in to comment.