Method: JSS::PatchExternalSource#enable

Defined in:
lib/jss/api_object/patch_source/patch_external_source.rb

#enablevoid

This method returns an undefined value.

Enable this source for retrieving patch info


59
60
61
62
63
64
# File 'lib/jss/api_object/patch_source/patch_external_source.rb', line 59

def enable
  return if enabled?
  validate_host_port('enable a patch source')
  @enabled = true
  @need_to_update = true
end