gitlab-org--gitlab-foss/app/serializers/feature_flags/strategy_entity.rb

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

12 lines
284 B
Ruby
Raw Normal View History

# 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