From 51ff05c3de3500fdc6aee55e2919646028055286 Mon Sep 17 00:00:00 2001 From: Adnan Abdulally Date: Fri, 29 Jan 2021 10:24:19 -0800 Subject: Rename module SolidusTaxJar to SolidusTaxjar In order for the Zeitwerk loader to properly identity our classes from the file names, we should remove camel casing from this name that isn't consistent with underscores in the file name itself. Co-authored-by: Nick Van Doorn --- lib/super_good/solidus_taxjar/api.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/super_good/solidus_taxjar/api.rb') diff --git a/lib/super_good/solidus_taxjar/api.rb b/lib/super_good/solidus_taxjar/api.rb index 5c6ab3e..c9cc99f 100644 --- a/lib/super_good/solidus_taxjar/api.rb +++ b/lib/super_good/solidus_taxjar/api.rb @@ -1,5 +1,5 @@ module SuperGood - module SolidusTaxJar + module SolidusTaxjar class API def self.default_taxjar_client ::Taxjar::Client.new( @@ -17,7 +17,7 @@ module SuperGood def tax_for(order) taxjar_client.tax_for_order(APIParams.order_params(order)).tap do |taxes| - next unless SuperGood::SolidusTaxJar.logging_enabled + next unless SuperGood::SolidusTaxjar.logging_enabled Rails.logger.info( "TaxJar response for #{order.number}: #{taxes.to_h.inspect}" -- cgit v1.2.3