From 85f1be577dfa0c31828cd7a6d16b9f30f466bece Mon Sep 17 00:00:00 2001 From: Jon Pugh Date: Thu, 2 Jan 2014 13:10:01 -0500 Subject: [PATCH] Adding "teams" to the $client->api() function --- lib/Github/Client.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/Github/Client.php b/lib/Github/Client.php index e50d5e94638..ac05746a1d9 100644 --- a/lib/Github/Client.php +++ b/lib/Github/Client.php @@ -124,6 +124,11 @@ public function api($name) $api = new Api\Repo($this); break; + case 'team': + case 'teams': + $api = new Api\Organization\Teams($this); + break; + case 'user': case 'users': $api = new Api\User($this);