debian-mirror-gitlab/app/serializers/test_report_summary_entity.rb
2020-10-24 23:57:45 +05:30

9 lines
201 B
Ruby

# frozen_string_literal: true
class TestReportSummaryEntity < Grape::Entity
expose :total
expose :test_suites, using: TestSuiteSummaryEntity do |summary|
summary.test_suites.values
end
end