Method: PulpcoreClient::Configuration#initialize
- Defined in:
- lib/pulpcore_client/configuration.rb
#initialize {|_self| ... } ⇒ Configuration
Returns a new instance of Configuration.
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 |
# File 'lib/pulpcore_client/configuration.rb', line 129 def initialize @scheme = 'https' @host = 'pulp' @base_path = '' @api_key = {} @api_key_prefix = {} @timeout = 0 @client_side_validation = true @ssl_verify = true @ssl_verify_mode = nil @ssl_ca_file = nil @ssl_client_cert = nil @ssl_client_key = nil @params_encoder = nil @timeout = 60 @debugging = false @inject_format = false @force_ending_format = false @logger = defined?(Rails) ? Rails.logger : Logger.new(STDOUT) yield(self) if block_given? end |