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

import_merge_request_worker.rb « attachments « github_import « gitlab « workers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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