Skip to content

Commit

Permalink
Link snippets API (Fix #43)
Browse files Browse the repository at this point in the history
  • Loading branch information
jubianchi committed Jun 8, 2014
1 parent 65c28d6 commit 76ab3d5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/Gitlab/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ public function api($name)
$api = new Api\SystemHooks($this);
break;

case 'snippets':
$api = new Api\Snippets($this);
break;

default:
throw new InvalidArgumentException();
}
Expand Down

0 comments on commit 76ab3d5

Please sign in to comment.