module Gitlab::Client::MergeRequests
def merge_request(project, id, options = {})
-
(Gitlab::ObjectifiedHash)
-
Options Hash:
(**options)
-
:include_rebase_in_progress
(Boolean
) -- If true response includes whether a rebase operation is in progress. -
:include_diverged_commits_count
(Boolean
) -- If true response includes the commits behind the target branch. -
:render_html
(Boolean
) -- If true response includes rendered HTML for title and description.
Parameters:
-
id
(Integer
) -- The ID of a merge request. -
project
(Integer, String
) -- The ID or name of a project.
def merge_request(project, id, options = {}) get("/projects/#{url_encode project}/merge_requests/#{id}", query: options) end