Method: Gitlab::Client::SystemHooks#delete_hook
- Defined in:
- lib/gitlab/client/system_hooks.rb
permalink #delete_hook(id) ⇒ Gitlab::ObjectifiedHash Also known as: delete_system_hook
Deletes a new system hook.
59 60 61 |
# File 'lib/gitlab/client/system_hooks.rb', line 59 def delete_hook(id) delete("/hooks/#{id}") end |