ruby-jss provides native ruby access to the REST APIs of Jamf Pro, an enterprise/education tool for managing Apple devices, from jamf.com. The Jamf module provides access to both APIs. Jamf Pro objects are implemented as classes and interact with each other. Authentication tokens, data format and other details are handled under the hood to allow simpler, intuitive automation of Jamf-related tasks.
When using JSS::Script.category, it returns nil instead of the category name.
Example:
script = JSS::Script.fetch name: 'Test script'
category = script.category # sets to nil
puts category
category = script.category_name #sets to the actual name
puts category
This is a bug from the change over to Categorizable, and category was left behind. - use category_name instead.
When using
JSS::Script.category
, it returns nil instead of the category name.Example:
This is a bug from the change over to Categorizable, and
category
was left behind. - usecategory_name
instead.