Method: Gitlab::Client::Commits#create_commit_comment
- Defined in:
- lib/gitlab/client/commits.rb
permalink #create_commit_comment(project, commit, note, options = {}) ⇒ Gitlab::ObjectifiedHash Also known as: repo_create_commit_comment
Creates a new comment for a commit.
130 131 132 |
# File 'lib/gitlab/client/commits.rb', line 130 def create_commit_comment(project, commit, note, = {}) post("/projects/#{url_encode project}/repository/commits/#{commit}/comments", body: .merge(note: note)) end |