Method: CoreLibrary::BaseHttpLoggingConfiguration#initialize
- Defined in:
- lib/apimatic-core/logger/configurations/api_logging_configuration.rb
#initialize(log_body, log_headers, headers_to_exclude, headers_to_include, headers_to_unmask) ⇒ BaseHttpLoggingConfiguration
Initializes a new instance of BaseHttpLoggingConfiguration.
40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/apimatic-core/logger/configurations/api_logging_configuration.rb', line 40 def initialize( log_body, log_headers, headers_to_exclude, headers_to_include, headers_to_unmask ) @log_body = log_body @log_headers = log_headers @headers_to_exclude = headers_to_exclude || [] @headers_to_include = headers_to_include || [] @headers_to_unmask = headers_to_unmask || [] end |