Module: Jamf::Immutable

Overview

When extended with this mixin, JSONObject.mutable? returns false, meaning that no setters are ever defined, and if the object is a Jamf::Resource, #save will raise an error

Instance Method Summary collapse

Instance Method Details

#mutable?Boolean

Returns:

  • (Boolean)


33
34
35
# File 'lib/jamf/api/mixins/immutable.rb', line 33

def mutable?
  false
end