Sha256: dee5e0b63d86a8cde37c2663c9e7f01cd4b1bc733b5eea5cc386a02080066c5e
Contents?: true
Size: 825 Bytes
Versions: 1
Compression:
Stored size: 825 Bytes
Contents
# frozen_string_literal: true module Wazuh module Config extend self ATTRIBUTES = %i[ user_agent ca_file client_cert client_key basic_user basic_password verify_ssl logger endpoint ignore_env_proxy ].freeze attr_accessor(*Config::ATTRIBUTES) 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 end end class << self def configure block_given? ? yield(Config) : Config end def config Config end end end Wazuh::Config.reset
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wazuh-ruby-client-0.2.9 | lib/wazuh/config.rb |