Method: Jamf::PatchTitle.all_ids

Defined in:
lib/jamf/api/classic/api_objects/patch_title.rb

.all_ids(refresh = false, source_id: nil, api: nil, cnx: Jamf.cnx) ⇒ Object

The same as @see APIObject.all_ids but also takes an optional source_id: parameter, which limites the results to patch titles with the specified source_id.



200
201
202
203
204
# File 'lib/jamf/api/classic/api_objects/patch_title.rb', line 200

def self.all_ids(refresh = false, source_id: nil, api: nil, cnx: Jamf.cnx)
  cnx = api if api

  all(refresh, source_id: source_id, cnx: cnx).map { |i| i[:id] }
end