Module: Wazuh::Config

Extended by:
Config
Included in:
Config
Defined in:
lib/wazuh/config.rb

Constant Summary collapse

ATTRIBUTES =
%i[
  user_agent
  ca_file
  client_cert
  client_key
  basic_user
  basic_password
  verify_ssl
  logger
  endpoint
  ignore_env_proxy
  api_version
].freeze

Instance Method Summary collapse

Instance Method Details

#resetObject



22
23
24
25
26
27
28
29
30
31
32
33
34
# File 'lib/wazuh/config.rb', line 22

def reset
  self.endpoint = nil
  self.user_agent = "Wazuh Ruby Client/#{Wazuh::VERSION}"
  self.ca_file = nil
  self.client_cert = nil
  self.client_key = nil
  self.basic_user = nil
  self.basic_password = nil
  self.verify_ssl = true
  self.logger = nil
  self.ignore_env_proxy = false
  self.api_version = 3
end