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.10.1 app/models/spree/returns_calculator.rb
spree_core-4.10.0 app/models/spree/returns_calculator.rb
spree_core-4.9.0 app/models/spree/returns_calculator.rb
spree_core-4.8.3 app/models/spree/returns_calculator.rb
spree_core-4.8.2 app/models/spree/returns_calculator.rb
spree_core-4.7.3 app/models/spree/returns_calculator.rb
spree_core-4.6.6 app/models/spree/returns_calculator.rb
spree_core-4.5.5 app/models/spree/returns_calculator.rb
spree_core-4.0.9 app/models/spree/returns_calculator.rb
spree_core-4.1.15 app/models/spree/returns_calculator.rb
spree_core-4.2.7 app/models/spree/returns_calculator.rb
spree_core-4.3.3 app/models/spree/returns_calculator.rb
spree_core-4.4.1 app/models/spree/returns_calculator.rb
spree_core-4.5.4 app/models/spree/returns_calculator.rb
spree_core-4.6.5 app/models/spree/returns_calculator.rb
spree_core-4.7.2 app/models/spree/returns_calculator.rb
spree_core-4.7.1 app/models/spree/returns_calculator.rb
spree_core-4.6.4 app/models/spree/returns_calculator.rb
spree_core-4.7.0 app/models/spree/returns_calculator.rb
spree_core-4.6.3 app/models/spree/returns_calculator.rb