Class: CoreLibrary::ApiRequestLoggingConfiguration
- Inherits:
-
BaseHttpLoggingConfiguration
- Object
- BaseHttpLoggingConfiguration
- CoreLibrary::ApiRequestLoggingConfiguration
- Defined in:
- lib/apimatic-core/logger/configurations/api_logging_configuration.rb
Overview
Represents request logging configuration.
Instance Attribute Summary collapse
-
#include_query_in_path ⇒ Object
readonly
Returns the value of attribute include_query_in_path.
Attributes inherited from BaseHttpLoggingConfiguration
#headers_to_exclude, #headers_to_include, #headers_to_unmask, #log_body, #log_headers
Instance Method Summary collapse
-
#initialize(log_body, log_headers, headers_to_exclude, headers_to_include, headers_to_unmask, include_query_in_path) ⇒ ApiRequestLoggingConfiguration
constructor
Initializes a new instance of ApiRequestLoggingConfiguration.
Constructor Details
#initialize(log_body, log_headers, headers_to_exclude, headers_to_include, headers_to_unmask, include_query_in_path) ⇒ ApiRequestLoggingConfiguration
Initializes a new instance of ApiRequestLoggingConfiguration.
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'lib/apimatic-core/logger/configurations/api_logging_configuration.rb', line 67 def initialize( log_body, log_headers, headers_to_exclude, headers_to_include, headers_to_unmask, include_query_in_path ) super( log_body, log_headers, headers_to_exclude, headers_to_include, headers_to_unmask ) @include_query_in_path = include_query_in_path end |
Instance Attribute Details
#include_query_in_path ⇒ Object (readonly)
Returns the value of attribute include_query_in_path.
57 58 59 |
# File 'lib/apimatic-core/logger/configurations/api_logging_configuration.rb', line 57 def include_query_in_path @include_query_in_path end |