Skip to content
This repository has been archived by the owner on Sep 14, 2019. It is now read-only.

Commit

Permalink
Update README and Project Method
Browse files Browse the repository at this point in the history
  • Loading branch information
rossedman committed May 25, 2015
1 parent 679517a commit b8e2e3e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,12 @@ Get time totals for a tasklist
$teamwork->tasklist($id)->timeTotal();
```

Get tasklists associated with a project

```php
$teamwork->project($id)->tasklists();
```

#### Milestone

Get all milestones in Teamwork.
Expand Down
2 changes: 1 addition & 1 deletion src/Rossedman/Teamwork/Project.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public function milestones($args = null)
*
* @return [type] [description]
*/
public function tasklist($args = null)
public function tasklists($args = null)
{
return $this->client->get("$this->endpoint/$this->id/tasklists", $args)->response();
}
Expand Down

0 comments on commit b8e2e3e

Please sign in to comment.