debian-mirror-gitlab/scripts/api/commit_merge_requests.rb
2023-06-09 08:11:10 +05:30

18 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