Class: Gitlab::GithubImport::ImportIssueWorker
- Inherits:
-
Object
- Object
- Gitlab::GithubImport::ImportIssueWorker
show all
- Includes:
- ObjectImporter
- Defined in:
- app/workers/gitlab/github_import/import_issue_worker.rb
Overview
rubocop:disable Scalability/IdempotentWorker
Constant Summary
ObjectImporter::NotRetriableError
Instance Method Summary
collapse
#import, #perform_failure
Instance Method Details
#increment_object_counter?(object) ⇒ Boolean
20
21
22
|
# File 'app/workers/gitlab/github_import/import_issue_worker.rb', line 20
def increment_object_counter?(object)
!object.pull_request?
end
|
#object_type ⇒ Object
16
17
18
|
# File 'app/workers/gitlab/github_import/import_issue_worker.rb', line 16
def object_type
:issue
end
|
#representation_class ⇒ Object
8
9
10
|
# File 'app/workers/gitlab/github_import/import_issue_worker.rb', line 8
def representation_class
Representation::Issue
end
|