Sha256: 7cd535f4898500c9b28dce67e56a6df80be8e39b921f3ab699d1b114ea1abe13
Contents?: true
Size: 727 Bytes
Versions: 12
Compression:
Stored size: 727 Bytes
Contents
# frozen_string_literal: true module Wazuh module Config extend self ATTRIBUTES = %i[ user_agent client_cert client_key basic_user basic_password verify_ssl logger endpoint ].freeze attr_accessor(*Config::ATTRIBUTES) def reset self.endpoint = nil self.user_agent = "Wazuh Ruby Client/#{Wazuh::VERSION}" self.client_cert = nil self.client_key = nil self.basic_user = nil self.basic_password = nil self.verify_ssl = true self.logger = nil end end class << self def configure block_given? ? yield(Config) : Config end def config Config end end end Wazuh::Config.reset
Version data entries
12 entries across 12 versions & 1 rubygems