summaryrefslogtreecommitdiff
path: root/lib/super_good/solidus_taxjar/addresses.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/super_good/solidus_taxjar/addresses.rb')
-rw-r--r--lib/super_good/solidus_taxjar/addresses.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/super_good/solidus_taxjar/addresses.rb b/lib/super_good/solidus_taxjar/addresses.rb
index 7fdf852..409d0d3 100644
--- a/lib/super_good/solidus_taxjar/addresses.rb
+++ b/lib/super_good/solidus_taxjar/addresses.rb
@@ -20,7 +20,7 @@ module SuperGood
return if taxjar_address.nil?
- Spree::Address.immutable_merge(spree_address, {
+ ::Spree::Address.immutable_merge(spree_address, {
country: us, # TaxJar only supports the US currently.
state: state(taxjar_address.state),
zipcode: taxjar_address.zip,
@@ -31,7 +31,7 @@ module SuperGood
def possibilities(spree_address)
taxjar_addresses(spree_address).map { |taxjar_address|
- Spree::Address.immutable_merge(spree_address, {
+ ::Spree::Address.immutable_merge(spree_address, {
country: us, # TaxJar only supports the US currently.
state: state(taxjar_address.state),
zipcode: taxjar_address.zip,
@@ -52,7 +52,7 @@ module SuperGood
end
def us
- Spree::Country.find_by iso: "US"
+ ::Spree::Country.find_by iso: "US"
end
def state(abbr)