module Gitlab::Client::SystemHooks
def add_hook(url)
-
(Gitlab::ObjectifiedHash)
-
Parameters:
-
url
(String
) -- The hook URL.
def add_hook(url) post("/hooks", body: { url: url }) end
(Gitlab::ObjectifiedHash)
-
url
(String
)
-- The hook URL.
def add_hook(url) post("/hooks", body: { url: url }) end