Method: Gitlab::Client::Commits#commit_merge_requests
- Defined in:
- lib/gitlab/client/commits.rb
permalink #commit_merge_requests(project, commit, options = {}) ⇒ Array<Gitlab::ObjectifiedHash> Also known as: repo_commit_merge_requests
Gets a list of merge requests for a commit.
Introduced in Gitlab 10.7
211 212 213 |
# File 'lib/gitlab/client/commits.rb', line 211 def commit_merge_requests(project, commit, = {}) get("/projects/#{url_encode project}/repository/commits/#{commit}/merge_requests", query: ) end |