Method: JSS::Policy#script_ids

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

#script_idsArray

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

Returns:

  • the id’s of the scripts handled by the policy



1196
1197
1198
# File 'lib/jss/api_object/policy.rb', line 1196

def script_ids
  @scripts.map { |p| p[:id] }
end