diff options
-rw-r--r-- | lib/super_good/solidus_taxjar.rb | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/lib/super_good/solidus_taxjar.rb b/lib/super_good/solidus_taxjar.rb index 40df3ec..f525ee7 100644 --- a/lib/super_good/solidus_taxjar.rb +++ b/lib/super_good/solidus_taxjar.rb @@ -2,11 +2,17 @@ require 'solidus_core' require 'solidus_support' require 'taxjar' +require "super_good/solidus_taxjar/version" +require "super_good/solidus_taxjar/api" +require "super_good/solidus_taxjar/tax_calculator" +require "super_good/solidus_taxjar/discount_calculator" + module SuperGood module SolidusTaxJar + class << self + attr_accessor :discount_calculator + end + + self.discount_calculator = ::SuperGood::SolidusTaxJar::DiscountCalculator end end - -require "super_good/solidus_taxjar/version" -require "super_good/solidus_taxjar/api" -require "super_good/solidus_taxjar/tax_calculator" |