Sha256: 96be31ea49b8e71041d5092c68b6e1be89642c82b01706891225fa143f81f0aa
Contents?: true
Size: 527 Bytes
Versions: 12
Compression:
Stored size: 527 Bytes
Contents
# frozen_string_literal: true # Gitlab gem monkeypatch for related merge requests # TODO: Add method upstream # class Gitlab::Client module Issues # List related merge requests # # @example # Gitlab.related_issue_merge_requests(3, 42) # # @param [Integer, String] project The ID or name of a project. # @param [Integer] id The ID of an issue. def related_issue_merge_requests(project, id) get("/projects/#{url_encode project}/issues/#{id}/related_merge_requests") end end end
Version data entries
12 entries across 12 versions & 1 rubygems