gitlab-org--gitlab-foss/app/serializers/analytics_summary_entity.rb

8 lines
164 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class AnalyticsSummaryEntity < Grape::Entity
expose :value, safe: true
expose :title
expose :unit, if: { with_unit: true }
end