diff --git a/lib/Github/Api/CurrentUser.php b/lib/Github/Api/CurrentUser.php index 688282cb65b..7b1af4381c8 100644 --- a/lib/Github/Api/CurrentUser.php +++ b/lib/Github/Api/CurrentUser.php @@ -76,6 +76,16 @@ public function notifications() return new Notifications($this->client); } + /** + * @link http://developer.github.com/v3/orgs/#list-user-organizations + * + * @return array + */ + public function organizations() + { + return $this->get('user/orgs'); + } + /** * @link http://developer.github.com/v3/repos/#list-your-repositories *