Method: Jamf::PatchTitle.all_names

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

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

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



190
191
192
193
194
# File 'lib/jamf/api/classic/api_objects/patch_title.rb', line 190

def self.all_names(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[:name] }
end