lib/jss/api_object/patch_policy.rb
def update
      validate_for_saving
      super
      refetch_version_info if @refetch_for_new_version
      @refetch_for_new_version = false
      id
    end
# Update an existing PatchPolicy with changes from ruby
#
# @return [Integer] the id of the policy
#
Update an existing PatchPolicy with changes from ruby
Update an existing PatchPolicy with changes from ruby
def update
      validate_for_saving
      super
      refetch_version_info if @refetch_for_new_version
      @refetch_for_new_version = false
      id
    end
def update validate_for_saving super refetch_version_info if @refetch_for_new_version @refetch_for_new_version = false id end
Update an existing PatchPolicy with changes from ruby
Update an existing PatchPolicy with changes from ruby
the id of the policy
the id of the policy
Integer