24 lines
487 B
Ruby
24 lines
487 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Gitlab
|
|
module GithubImport
|
|
class ImportPullRequestMergedByWorker # rubocop:disable Scalability/IdempotentWorker
|
|
include ObjectImporter
|
|
|
|
worker_resource_boundary :cpu
|
|
|
|
def representation_class
|
|
Gitlab::GithubImport::Representation::PullRequest
|
|
end
|
|
|
|
def importer_class
|
|
Importer::PullRequestMergedByImporter
|
|
end
|
|
|
|
def object_type
|
|
:pull_request_merged_by
|
|
end
|
|
end
|
|
end
|
|
end
|