module DppmRestApi::Config::Helpers
Direct including types
Defined in:
config/helpers.crInstance Method Summary
-
#selected_users(match_name, match_groups, api_key, from users_list) : Array(DppmRestApi::Config::User)
select the users from the current configuration according to the name, groups the user is a member of, and/or the user's API key.
-
#selected_users(match_name, match_groups, api_key, from users_list, &block : DppmRestApi::Config::User -> DppmRestApi::Config::User?)
:ditto:
-
#split_numbers(number_list : String) : Set(Int32)
A helper method for the select_users method -- splits a comma-separated list of numbers in a string into a
Set
ofInt32
values. - #split_numbers(number_list, &)
Instance Method Detail
def selected_users(match_name, match_groups, api_key, from users_list) : Array(DppmRestApi::Config::User)
#
select the users from the current configuration according to the name, groups the user is a member of, and/or the user's API key.
def selected_users(match_name, match_groups, api_key, from users_list, &block : DppmRestApi::Config::User -> DppmRestApi::Config::User?)
#
:ditto:
Yield each of the matching users to a block.
def split_numbers(number_list : String) : Set(Int32)
#
A helper method for the select_users method -- splits a comma-separated
list of numbers in a string into a Set
of Int32
values.