mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-07-25 16:03:48 +00:00
19 lines
265 B
Ruby
19 lines
265 B
Ruby
# frozen_string_literal: true
|
|
|
|
require_relative 'base'
|
|
|
|
class CommitMergeRequests < Base
|
|
def initialize(options)
|
|
super
|
|
@sha = options.fetch(:sha)
|
|
end
|
|
|
|
def execute
|
|
client.commit_merge_requests(project, sha)
|
|
end
|
|
|
|
private
|
|
|
|
attr_reader :sha
|
|
end
|