Skip to content

Commit 861cf2e

Browse files
Added enterprise and the "ent" alias to list of valid APIs.
1 parent 5dec9a8 commit 861cf2e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/Github/Client.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,11 @@ public function api($name)
8787
$api = new Api\CurrentUser($this);
8888
break;
8989

90+
case 'ent':
91+
case 'enterprise':
92+
$api = new Api\Enterprise($this);
93+
break;
94+
9095
case 'git':
9196
case 'git_data':
9297
$api = new Api\GitData($this);

0 commit comments

Comments
 (0)