debian-mirror-gitlab/app/serializers/feature_flags/strategy_entity.rb
2021-01-30 21:13:32 +05:30

11 lines
284 B
Ruby

# 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