Class: Gitlab::GithubImport::ReplayEventsWorker

Inherits:
Object
  • Object
show all
Includes:
ObjectImporter
Defined in:
app/workers/gitlab/github_import/replay_events_worker.rb

Constant Summary

Constants included from ObjectImporter

ObjectImporter::NotRetriableError

Instance Method Summary collapse

Methods included from ObjectImporter

#import, #increment_object_counter

Instance Method Details

#importer_classObject



14
15
16
# File 'app/workers/gitlab/github_import/replay_events_worker.rb', line 14

def importer_class
  Importer::ReplayEventsImporter
end

#increment_object_counter?(_object) ⇒ Boolean

Returns:

  • (Boolean)


22
23
24
# File 'app/workers/gitlab/github_import/replay_events_worker.rb', line 22

def increment_object_counter?(_object)
  false
end

#object_typeObject



18
19
20
# File 'app/workers/gitlab/github_import/replay_events_worker.rb', line 18

def object_type
  :replay_event
end

#representation_classObject



10
11
12
# File 'app/workers/gitlab/github_import/replay_events_worker.rb', line 10

def representation_class
  Representation::ReplayEvent
end