Class: Gitlab::GithubImport::Attachments::ImportIssueWorker

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

Overview

rubocop:disable Scalability/IdempotentWorker

Constant Summary

Constants included from ObjectImporter

ObjectImporter::NotRetriableError

Instance Method Summary collapse

Methods included from ObjectImporter

#import, #increment_object_counter?, #perform_failure

Instance Method Details

#importer_classObject



13
14
15
# File 'app/workers/gitlab/github_import/attachments/import_issue_worker.rb', line 13

def importer_class
  Importer::NoteAttachmentsImporter
end

#object_typeObject



17
18
19
# File 'app/workers/gitlab/github_import/attachments/import_issue_worker.rb', line 17

def object_type
  :issue_attachment
end

#representation_classObject



9
10
11
# File 'app/workers/gitlab/github_import/attachments/import_issue_worker.rb', line 9

def representation_class
  Representation::NoteText
end