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 the #printers method in JSS::Policy object, it returns [""] if no printers are associated with that policy. If there is a printer, returns the printer and the "".
Example:
When using the
#printers
method inJSS::Policy
object, it returns[""]
if no printers are associated with that policy. If there is a printer, returns the printer and the""
. Example:When I expected: