Skip to content

Commit

Permalink
Option to get a single project
Browse files Browse the repository at this point in the history
  • Loading branch information
manavo committed May 29, 2016
1 parent 98080fd commit bbdafe8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Project.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ function __construct($client, $id)
$this->id = $id;
}

/**
* Get the details of this project
*
* @return array
*/
public function get()
{
return $this->client->get(sprintf('projects/%d', $this->id));
}

/**
* Get all the people associated with this project
*
Expand Down

0 comments on commit bbdafe8

Please sign in to comment.