lib/jamf/api/abstract_classes/json_object.rb in ruby-jss-1.2.4a3 vs lib/jamf/api/abstract_classes/json_object.rb in ruby-jss-1.2.4a4
- old
+ new
@@ -725,11 +725,11 @@
return unless attr_def[:aliases]
attr_def[:aliases].each { |al| alias_method "#{al}_delete_if", "#{attr_name}_delete_if" }
end # create_insert_setters
- private_class_method :create_delete_at_setters
+ private_class_method :create_delete_if_setters
# Raise an exception if this is an abstract class
# Used in class methods that are defined in abstract classes.
# Instantiation is already prevented by the Abstract mixin
##############################
@@ -760,15 +760,11 @@
# If the attribute is an identifier, and the class is a subclass of
# CollectionResource, it must be unique among the collection
#
# Otherwise, the value is returned unchanged.
#
- # If the attribute is defined as an identifier, it must be unique among
- # the other objects of this subclass in the JSS.
- #
# This method only validates single values. When called from multi-value
# setters, it is used for each value individually.
- #
#
# @param attr_name[Symbol], a top-level key from OBJECT_MODEL for this class
#
# @param value [Object] the value to validate for that attribute.
#