Method: JSS::Policy#dock_item_names

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

#dock_item_namesArray

Returns the names of the dock_items handled by the policy.

Returns:

  • (Array)

    the names of the dock_items handled by the policy



1303
1304
1305
# File 'lib/jss/api_object/policy.rb', line 1303

def dock_item_names
  @dock_items.map { |p| p[:name] }
end