Module: Jamf::Uncreatable
- Defined in:
- lib/jamf/api/jamf_pro/mixins/uncreatable.rb
Overview
This mixin overrides CollectionResource.creatable? to return false, meaning that CollectionResource.create will raise an exception It should be extended into appropriate subclasses of CollectionResource
Note that SingletonResource subclasses are never creatable
Instance Method Summary collapse
Instance Method Details
#creatable? ⇒ Boolean
34 35 36 |
# File 'lib/jamf/api/jamf_pro/mixins/uncreatable.rb', line 34 def creatable? false end |