summaryrefslogtreecommitdiff
path: root/app/workers/gitlab/github_import/import_issue_worker.rb
blob: 8fdc0219ffd23110a1d01ee8be5ce6c7f1cb0cd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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 object_type
        :issue
      end
    end
  end
end