Class: Ci::CompareAccessibilityReportsService

Inherits:
CompareReportsBaseService show all
Defined in:
app/services/ci/compare_accessibility_reports_service.rb

Instance Attribute Summary

Attributes inherited from BaseService

#current_user, #params, #project

Instance Method Summary collapse

Methods inherited from CompareReportsBaseService

#execute, #latest?

Methods inherited from BaseService

#initialize

Methods included from BaseServiceUtility

#deny_visibility_level, #event_service, #log_error, #log_info, #notification_service, #system_hook_service, #todo_service, #visibility_level

Methods included from Gitlab::Allowable

#can?

Constructor Details

This class inherits a constructor from BaseService

Instance Method Details

#comparer_classObject


5
6
7
# File 'app/services/ci/compare_accessibility_reports_service.rb', line 5

def comparer_class
  Gitlab::Ci::Reports::AccessibilityReportsComparer
end

#get_report(pipeline) ⇒ Object


13
14
15
# File 'app/services/ci/compare_accessibility_reports_service.rb', line 13

def get_report(pipeline)
  pipeline&.accessibility_reports
end

#serializer_classObject


9
10
11
# File 'app/services/ci/compare_accessibility_reports_service.rb', line 9

def serializer_class
  AccessibilityReportsComparerSerializer
end