Sha256: f4eb1d1e09521af0a36b934732b00f90c8d2e339f411857d6f358f6c5bc3b211
Contents?: true
Size: 451 Bytes
Versions: 2
Compression:
Stored size: 451 Bytes
Contents
Workarea.config.pricing_calculators.swap( "Workarea::Pricing::Calculators::TaxCalculator", "Workarea::Pricing::Calculators::AvalaraTaxCalculator" ) if Rails.application.secrets.avatax.present? avatax_sercrets = Rails.application.secrets.avatax.deep_symbolize_keys AvaTax.configure do |config| config.username = avatax_sercrets[:username] config.password = avatax_sercrets[:password] end end Workarea::Avatax.auto_configure_gateway
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
workarea-avatax-4.2.1 | config/initializers/avatax.rb |
workarea-avatax-4.2.0 | config/initializers/avatax.rb |