Class: Spree::ReturnsCalculator
- Inherits:
-
Calculator
- Object
- Calculator
- Spree::ReturnsCalculator
- Defined in:
- app/models/spree/returns_calculator.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from Calculator
#available?, calculators, description, #description, #to_s
Instance Method Details
#compute(_return_item) ⇒ Object
3 4 5 |
# File 'app/models/spree/returns_calculator.rb', line 3 def compute(_return_item) raise NotImplementedError, "Please implement 'compute(return_item)' in your calculator: #{self.class.name}" end |