Method: Gitlab::Client::Issues#close_issue
- Defined in:
- lib/gitlab/client/issues.rb
#close_issue(project, id) ⇒ Gitlab::ObjectifiedHash
Closes an issue.
86 87 88 |
# File 'lib/gitlab/client/issues.rb', line 86 def close_issue(project, id) put("/projects/#{url_encode project}/issues/#{id}", body: { state_event: 'close' }) end |