Welcome to mirror list, hosted at ThFree Co, Russian Federation.

strategy_entity.rb « feature_flags « serializers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7345047686903171fc9e97062079f460ac389b8c (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module FeatureFlags
  class StrategyEntity < Grape::Entity
    expose :id
    expose :name
    expose :parameters
    expose :scopes, with: FeatureFlags::ScopeEntity
    expose :user_list, with: FeatureFlags::UserListEntity, expose_nil: false
  end
end