Class: Gitlab::GithubImport::PullRequests::ImportReviewWorker

Inherits:
Object
  • Object
show all
Includes:
ObjectImporter
Defined in:
app/workers/gitlab/github_import/pull_requests/import_review_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



15
16
17
# File 'app/workers/gitlab/github_import/pull_requests/import_review_worker.rb', line 15

def importer_class
  Importer::PullRequests::ReviewImporter
end

#object_typeObject



19
20
21
# File 'app/workers/gitlab/github_import/pull_requests/import_review_worker.rb', line 19

def object_type
  :pull_request_review
end

#representation_classObject



11
12
13
# File 'app/workers/gitlab/github_import/pull_requests/import_review_worker.rb', line 11

def representation_class
  Gitlab::GithubImport::Representation::PullRequestReview
end