debian-mirror-gitlab/app/serializers/analytics/cycle_analytics/configuration_entity.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
422 B
Ruby
Raw Normal View History

2021-06-08 01:23:25 +05:30
# frozen_string_literal: true
module Analytics
module CycleAnalytics
class ConfigurationEntity < Grape::Entity
include RequestAwareEntity
expose :events, using: Analytics::CycleAnalytics::EventEntity
expose :stages, using: Analytics::CycleAnalytics::StageEntity
private
def events
2023-03-04 22:38:38 +05:30
Gitlab::Analytics::CycleAnalytics::StageEvents.selectable_events
2021-06-08 01:23:25 +05:30
end
end
end
end