module DppmRestApi::Config::Helpers

Direct including types

Defined in:

config/helpers.cr

Instance Method Summary

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.


[View source]
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.


[View source]
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.


[View source]
def split_numbers(number_list, &) #

[View source]