debian-mirror-gitlab/app/services/ci/compare_accessibility_reports_service.rb
2020-05-25 16:23:42 +05:30

17 lines
364 B
Ruby

# frozen_string_literal: true
module Ci
class CompareAccessibilityReportsService < CompareReportsBaseService
def comparer_class
Gitlab::Ci::Reports::AccessibilityReportsComparer
end
def serializer_class
AccessibilityReportsComparerSerializer
end
def get_report(pipeline)
pipeline&.accessibility_reports
end
end
end