Module: Workarea::Pricing::Calculator
- Extended by:
- ActiveSupport::Concern
- Included in:
- Workarea::Pricing::Calculators::CustomizationsCalculator, Workarea::Pricing::Calculators::DiscountCalculator, Workarea::Pricing::Calculators::ItemCalculator, Workarea::Pricing::Calculators::OverridesCalculator, Workarea::Pricing::Calculators::TaxCalculator
- Defined in:
- app/models/workarea/pricing/calculator.rb
Defined Under Namespace
Modules: ClassMethods Classes: TestRequest
Instance Method Summary collapse
Instance Method Details
#adjust ⇒ Object
36 37 38 |
# File 'app/models/workarea/pricing/calculator.rb', line 36 def adjust raise(NotImplementedError, "#{self.class} must implement #adjust") end |
#initialize(request) ⇒ Object
32 33 34 |
# File 'app/models/workarea/pricing/calculator.rb', line 32 def initialize(request) @request = request end |