Skip to content

Commit

Permalink
Remove unused ShippingRateTaxer service object
Browse files Browse the repository at this point in the history
This class was originally used by `Spree::Stock::Estimator` to apply
taxes to a shipping rate, much like `Spree::Tax::OrderAdjuster` does
for orders.

The only call site was then removed in 3639585[1] with the goal of
improving the performance of shipping rate estimation, but the actual
service object was not removed, and is currently sitting unused in the
codebase.

[1]: 3639585
  • Loading branch information
aldesantis committed Jul 27, 2021
1 parent 0957c0f commit 479ebb4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 83 deletions.
24 changes: 0 additions & 24 deletions core/app/models/spree/tax/shipping_rate_taxer.rb

This file was deleted.

59 changes: 0 additions & 59 deletions core/spec/models/spree/tax/shipping_rate_taxer_spec.rb

This file was deleted.

0 comments on commit 479ebb4

Please sign in to comment.