summaryrefslogtreecommitdiff
path: root/app/workers/gitlab/github_import/attachments/import_release_worker.rb
blob: 5eea5702d3c21906df3d3f0347dc08381d3332e5 (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 ImportReleaseWorker # rubocop:disable Scalability/IdempotentWorker
        include ObjectImporter

        def representation_class
          Representation::NoteText
        end

        def importer_class
          Importer::NoteAttachmentsImporter
        end

        def object_type
          :release_attachment
        end
      end
    end
  end
end