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

import_release_attachments_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: c6f45ec1d7c7378ee6debade27fa5b8b7053a3b3 (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 ImportReleaseAttachmentsWorker # rubocop:disable Scalability/IdempotentWorker
      include ObjectImporter

      def representation_class
        Representation::ReleaseAttachments
      end

      def importer_class
        Importer::ReleaseAttachmentsImporter
      end

      def object_type
        :release_attachment
      end
    end
  end
end