Method: Jamf::PatchPolicy#update

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

#updateInteger

Update an existing PatchPolicy with changes from ruby

Returns:

  • (Integer)

    the id of the policy



555
556
557
558
559
560
561
# File 'lib/jamf/api/classic/api_objects/patch_policy.rb', line 555

def update
  validate_for_saving
  super
  refetch_version_info if @refetch_for_new_version
  @refetch_for_new_version = false
  id
end