Method: Gitlab::Client::Commits#commit_comments
- Defined in:
- lib/gitlab/client/commits.rb
#commit_comments(project, commit, options = {}) ⇒ Array<Gitlab::ObjectifiedHash> Also known as: repo_commit_comments
Gets a list of comments for a commit.
112 113 114 |
# File 'lib/gitlab/client/commits.rb', line 112 def commit_comments(project, commit, = {}) get("/projects/#{url_encode project}/repository/commits/#{commit}/comments", query: ) end |