Sha256: 2d747f17d4c9aaeda233b1de9cb56f9b74c95058bc603579931df0e2e9969ff1

Contents?: true

Size: 214 Bytes

Versions: 165

Compression:

Stored size: 214 Bytes

Contents

module Spree
  class ReturnsCalculator < Calculator
    def compute(_return_item)
      raise NotImplementedError, "Please implement 'compute(return_item)' in your calculator: #{self.class.name}"
    end
  end
end

Version data entries

165 entries across 165 versions & 2 rubygems

Version Path
spree_core-4.2.4 app/models/spree/returns_calculator.rb
spree_core-3.7.14.1 app/models/spree/returns_calculator.rb
spree_core-4.2.3.1 app/models/spree/returns_calculator.rb
spree_core-4.1.13.1 app/models/spree/returns_calculator.rb
spree_core-4.0.7.1 app/models/spree/returns_calculator.rb
spree_core-4.2.3 app/models/spree/returns_calculator.rb
spree_core-4.2.2 app/models/spree/returns_calculator.rb
spree_core-4.2.1 app/models/spree/returns_calculator.rb
spree_core-4.0.7 app/models/spree/returns_calculator.rb
spree_core-3.7.14 app/models/spree/returns_calculator.rb
spree_core-4.2.0 app/models/spree/returns_calculator.rb
spree_core-4.2.0.rc5 app/models/spree/returns_calculator.rb
spree_core-4.2.0.rc4 app/models/spree/returns_calculator.rb
spree_core-4.2.0.rc3 app/models/spree/returns_calculator.rb
spree_core-4.1.13 app/models/spree/returns_calculator.rb
spree_core-4.0.6 app/models/spree/returns_calculator.rb
spree_core-4.2.0.rc2 app/models/spree/returns_calculator.rb
spree_core-3.7.13 app/models/spree/returns_calculator.rb
spree_core-4.0.5 app/models/spree/returns_calculator.rb
spree_core-4.1.12 app/models/spree/returns_calculator.rb