blob: dd947632d014352aa49322ad425ba625782e568f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# frozen_string_literal: true
module Gitlab
module GithubImport
module Importer
class CollaboratorsImporter
include ParallelScheduling
def importer_class
CollaboratorImporter
end
def representation_class
Representation::Collaborator
end
def sidekiq_worker_class
ImportCollaboratorWorker
end
def object_type
:collaborator
end
def collection_method
:collaborators
end
def id_for_already_imported_cache(collaborator)
collaborator[:id]
end
end
end
end
end
|