lib/uaa/scim.rb in cf-uaa-lib-1.3.2 vs lib/uaa/scim.rb in cf-uaa-lib-1.3.3

- old
+ new

@@ -207,12 +207,11 @@ end query["startindex"] = info.length + 1 end end - # Gets id/name pairs for given names. + # Gets id/name pairs for given names. For naming attribute of each object type see {Scim} # @param type (see #add) - # @param [Array<String>] names. For naming attribute of each object type see {Scim} # @return [Array] array of name/id hashes for each object found def ids(type, *names) na = type_info(type, :name_attr) filter = names.map { |n| "#{na} eq \"#{n}\""} all_pages(type, :attributes => "id,#{na}", :filter => filter.join(" or "))