module Gitlab::Client::Issues
def close_issue(project, id)
-
(Gitlab::ObjectifiedHash)
- Information about closed issue.
Parameters:
-
id
(Integer
) -- The ID of an issue. -
project
(Integer, String
) -- The ID or name of a project.
def close_issue(project, id) put("/projects/#{url_encode project}/issues/#{id}", body: { state_event: 'close' }) end