Method: JSS::Policy#dock_item_ids

Defined in:
lib/jss/api_object/policy.rb

#dock_item_idsArray

Returns the id’s of the dock_items handled by the policy.

Returns:

  • (Array)

    the id’s of the dock_items handled by the policy



1298
1299
1300
# File 'lib/jss/api_object/policy.rb', line 1298

def dock_item_ids
  @dock_items.map { |p| p[:id] }
end