1# frozen_string_literal: true 2 3module API 4 module Entities 5 class UnleashGitlabUserListStrategy < Grape::Entity 6 expose :name do |_strategy| 7 ::Operations::FeatureFlags::Strategy::STRATEGY_USERWITHID 8 end 9 expose :parameters do |strategy| 10 { userIds: strategy.user_list.user_xids } 11 end 12 end 13 end 14end 15