summaryrefslogtreecommitdiff
path: root/app/workers/gitlab/github_import/import_issue_worker.rb
blob: 1b081ae59666f5f3d8479780716dca0cfba05b54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# frozen_string_literal: true

module Gitlab
  module GithubImport
    class ImportIssueWorker
      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