Module: SuperGood::SolidusTaxjar::RequestOverride

Defined in:
lib/super_good/solidus_taxjar/overrides/request_override.rb

Instance Method Summary collapse

Instance Method Details

#build_http_clientObject



4
5
6
7
8
9
10
# File 'lib/super_good/solidus_taxjar/overrides/request_override.rb', line 4

def build_http_client
  if SuperGood::SolidusTaxjar.logging_enabled
    super.use(logging: {logger: SuperGood::SolidusTaxjar.logger})
  else
    super
  end
end