lib/avatax/configuration.rb in avatax-22.10.0 vs lib/avatax/configuration.rb in avatax-22.11.0
- old
+ new
@@ -17,11 +17,12 @@
:logger,
:custom_logger,
:custom_logger_options,
:proxy,
:faraday_response,
- :response_big_decimal_conversion
+ :response_big_decimal_conversion,
+ :log_request_and_response_info
].freeze
DEFAULT_APP_NAME = nil
DEFAULT_APP_VERSION = nil
DEFAULT_MACHINE_NAME = nil
@@ -34,10 +35,11 @@
DEFAULT_CUSTOM_LOGGER = nil
DEFAULT_CUSTOM_LOGGER_OPTIONS = {}
DEFAULT_PROXY = nil
DEFAULT_FARADAY_RESPONSE = false
DEFAULT_RESPONSE_BIG_DECIMAL_CONVERSION = false
+ DEFAULT_LOG_REQUEST_AND_RESPONSE_INFO = false
attr_accessor *VALID_OPTIONS_KEYS
# Reset config values when extended
def self.extended(base)
@@ -68,9 +70,10 @@
self.custom_logger = DEFAULT_CUSTOM_LOGGER
self.custom_logger_options = DEFAULT_CUSTOM_LOGGER_OPTIONS
self.proxy = DEFAULT_PROXY
self.faraday_response = DEFAULT_FARADAY_RESPONSE
self.response_big_decimal_conversion = DEFAULT_RESPONSE_BIG_DECIMAL_CONVERSION
+ self.log_request_and_response_info = DEFAULT_LOG_REQUEST_AND_RESPONSE_INFO
end
end
end