Skip to content

Commit 76ab3d5

Browse files
committed
Link snippets API (Fix #43)
1 parent 65c28d6 commit 76ab3d5

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
@@ -111,6 +111,10 @@ public function api($name)
111111
$api = new Api\SystemHooks($this);
112112
break;
113113

114+
case 'snippets':
115+
$api = new Api\Snippets($this);
116+
break;
117+
114118
default:
115119
throw new InvalidArgumentException();
116120
}

0 commit comments

Comments
 (0)