Class: Gitlab::GithubImport::ImportLfsObjectWorker

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

Overview

rubocop:disable Scalability/IdempotentWorker

Instance Method Summary collapse

Methods included from ObjectImporter

#counter, #import

Instance Method Details

#counter_descriptionObject


20
21
22
# File 'app/workers/gitlab/github_import/import_lfs_object_worker.rb', line 20

def counter_description
  'The number of imported GitHub Lfs Objects'
end

#counter_nameObject


16
17
18
# File 'app/workers/gitlab/github_import/import_lfs_object_worker.rb', line 16

def counter_name
  :github_importer_imported_lfs_objects
end

#importer_classObject


12
13
14
# File 'app/workers/gitlab/github_import/import_lfs_object_worker.rb', line 12

def importer_class
  Importer::LfsObjectImporter
end

#representation_classObject


8
9
10
# File 'app/workers/gitlab/github_import/import_lfs_object_worker.rb', line 8

def representation_class
  Representation::LfsObject
end