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

module Gitlab
  module GithubImport
    module Attachments
      class ImportMergeRequestWorker # rubocop:disable Scalability/IdempotentWorker
        include ObjectImporter

        def representation_class
          Representation::NoteText
        end

        def importer_class
          Importer::NoteAttachmentsImporter
        end

        def object_type
          :merge_request_attachment
        end
      end
    end
  end
end