Sha256: 28d1a360fd3965f725f3e0245a8766531f1b24c0c5c0675f6ab86b119797fd3f

Contents?: true

Size: 157 Bytes

Versions: 2

Compression:

Stored size: 157 Bytes

Contents

Spree::Adjustment.class_eval do
  def avatax_cache_key
    key = ['Spree::Adjustment']
    key << self.id
    key << self.amount
    key.join('-')
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_avatax_certified-2.0.0 app/models/spree/adjustment_decorator.rb
solidus_avatax_certified-1.1.0 app/models/spree/adjustment_decorator.rb