module Gitlab::Client::Projects
def project_hook(project, id)
-
(Gitlab::ObjectifiedHash)
-
Parameters:
-
id
(Integer
) -- The ID of a hook. -
project
(Integer, String
) -- The ID or path of a project.
def project_hook(project, id) get("/projects/#{url_encode project}/hooks/#{id}") end