gitlab-org--gitlab-foss/app/workers/gitlab/github_import/import_pull_request_merged_...

28 lines
619 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module Gitlab
module GithubImport
class ImportPullRequestMergedByWorker # rubocop:disable Scalability/IdempotentWorker
include ObjectImporter
tags :exclude_from_kubernetes
def representation_class
Gitlab::GithubImport::Representation::PullRequest
end
def importer_class
Importer::PullRequestMergedByImporter
end
def counter_name
:github_importer_imported_pull_requests_merged_by
end
def counter_description
'The number of imported GitHub pull requests merged by'
end
end
end
end