Welcome to mirror list, hosted at ThFree Co, Russian Federation.

import_note_worker.rb « github_import « gitlab « workers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2125c95377828f5280f7c8d4db211921ad7cac78 (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 ImportNoteWorker # rubocop:disable Scalability/IdempotentWorker
      include ObjectImporter

      def representation_class
        Representation::Note
      end

      def importer_class
        Importer::NoteImporter
      end

      def object_type
        :note
      end
    end
  end
end