summaryrefslogtreecommitdiff
path: root/app/workers/gitlab/github_import/import_pull_request_review_worker.rb
blob: de10fe40589cb9ecde4be2ff98743cc731e5d33f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# frozen_string_literal: true

module Gitlab
  module GithubImport
    class ImportPullRequestReviewWorker # rubocop:disable Scalability/IdempotentWorker
      include ObjectImporter

      tags :exclude_from_kubernetes

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

      def importer_class
        Importer::PullRequestReviewImporter
      end

      def object_type
        :pull_request_review
      end
    end
  end
end