summaryrefslogtreecommitdiff
path: root/app/workers/gitlab/github_import/import_collaborator_worker.rb
blob: 35cb3fa68306d3b58012a1a1cd3e4a360216ac5e (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 ImportCollaboratorWorker # rubocop:disable Scalability/IdempotentWorker
      include ObjectImporter

      def representation_class
        Representation::Collaborator
      end

      def importer_class
        Importer::CollaboratorImporter
      end

      def object_type
        :collaborator
      end
    end
  end
end