lib/jss/api_connection.rb in ruby-jss-0.10.0a3 vs lib/jss/api_connection.rb in ruby-jss-0.10.0
- old
+ new
@@ -656,10 +656,10 @@
# @return [Hash] The ids for the class keyed to the requested identifier
#
def map_all_ids(class_name, refresh = false, to: nil)
raise "'to:' value must be provided for mapping ids." unless to
the_class = JSS.api_object_class(class_name)
- the_class.map_all_ids_to to, api: self
+ the_class.map_all_ids_to to, refresh, api: self
end
# Call the 'valid_id' method on a JSS::APIObject subclass
# using this APIConnection. See {JSS::APIObject.valid_id}
#