| 1 | <?php namespace Rossedman\Teamwork; |
||
| 5 | class People extends AbstractObject { |
||
| 6 | |||
| 7 | use RestfulTrait; |
||
| 8 | |||
| 9 | protected $wrapper = 'person'; |
||
| 10 | |||
| 11 | protected $endpoint = 'people'; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * GET /people.json |
||
| 15 | * |
||
| 16 | * @return mixed |
||
| 17 | */ |
||
| 18 | public function all($args = null) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * GET /me.json |
||
| 27 | */ |
||
| 28 | public function me() |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Get All API Keys |
||
| 35 | * GET /people/APIKeys.json |
||
| 36 | * |
||
| 37 | * @return mixed |
||
| 38 | */ |
||
| 39 | public function apiKeys() |
||
| 43 | |||
| 44 | } |