Module chef_api::utils [] [src]

Functions

add_path_element
decode_list

The Chef Server returns lists of objects in the form [ "name", "https://chef.local/type/name"] In general, we don't care about the URL, so just return a list of the names

expand_string
squeeze_path

Remove duplicate and trailing slashes from a path