Skip to content

Commit f6fb7ff

Browse files
committed
Allow to use namespace api.
`$client->api('namespaces')->all();`
1 parent 0e42b13 commit f6fb7ff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/Gitlab/Client.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ public function api($name)
7878
$api = new Api\Projects($this);
7979
break;
8080

81+
case 'namespaces':
82+
$api = new Api\ProjectNamespaces($this);
83+
break;
84+
8185
case 'repo':
8286
case 'repositories':
8387
$api = new Api\Repositories($this);

0 commit comments

Comments
 (0)