summaryrefslogtreecommitdiff
path: root/app/workers/gitlab/github_import/import_diff_note_worker.rb
blob: 85b7d6c76bd36a8d5742e04d318588c268c62dee (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 ImportDiffNoteWorker # rubocop:disable Scalability/IdempotentWorker
      include ObjectImporter

      def representation_class
        Representation::DiffNote
      end

      def importer_class
        Importer::DiffNoteImporter
      end

      def object_type
        :diff_note
      end
    end
  end
end