15 lines
343 B
Ruby
15 lines
343 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
module API
|
||
|
module Entities
|
||
|
class UnleashGitlabUserListStrategy < Grape::Entity
|
||
|
expose :name do |_strategy|
|
||
|
::Operations::FeatureFlags::Strategy::STRATEGY_USERWITHID
|
||
|
end
|
||
|
expose :parameters do |strategy|
|
||
|
{ userIds: strategy.user_list.user_xids }
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|