Method: JSS::Policy#printer_ids
- Defined in:
- lib/jss/api_object/policy.rb
#printer_ids ⇒ Array
Returns the id’s of the printers handled by the policy.
1308 1309 1310 1311 1312 1313 1314 |
# File 'lib/jss/api_object/policy.rb', line 1308 def printer_ids begin @printers.map { |p| p[:id] } rescue TypeError return [] end end |