debian-mirror-gitlab/scripts/api/commit_merge_requests.rb
2023-05-27 22:25:52 +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