gitlab-org--gitlab-foss/app/workers/gitlab/github_import/import_issue_worker.rb

26 lines
505 B
Ruby

# frozen_string_literal: true
module Gitlab
module GithubImport
class ImportIssueWorker # rubocop:disable Scalability/IdempotentWorker
include ObjectImporter
def representation_class
Representation::Issue
end
def importer_class
Importer::IssueAndLabelLinksImporter
end
def counter_name
:github_importer_imported_issues
end
def counter_description
'The number of imported GitHub issues'
end
end
end
end