diff options
Diffstat (limited to 'app/workers/gitlab/github_import/import_issue_event_worker.rb')
-rw-r--r-- | app/workers/gitlab/github_import/import_issue_event_worker.rb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app/workers/gitlab/github_import/import_issue_event_worker.rb b/app/workers/gitlab/github_import/import_issue_event_worker.rb new file mode 100644 index 00000000000..d7071d3ee09 --- /dev/null +++ b/app/workers/gitlab/github_import/import_issue_event_worker.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module Gitlab + module GithubImport + class ImportIssueEventWorker # rubocop:disable Scalability/IdempotentWorker + include ObjectImporter + + def representation_class + Representation::IssueEvent + end + + def importer_class + Importer::IssueEventImporter + end + + def object_type + :issue_event + end + end + end +end |