Method: JSS::Policy#package_ids

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

#package_idsArray

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

Returns:

  • (Array)

    the id’s of the packages handled by the policy



814
# File 'lib/jss-api/api_object/policy.rb', line 814

def package_ids; @packages.map{|p| p[:id]} ; end