Module: Workarea::Pricing::Calculator::ClassMethods

Defined in:
app/models/workarea/pricing/calculator.rb

Instance Method Summary collapse

Instance Method Details

#test_adjust(order, shippings = nil) ⇒ Object



26
27
28
29
# File 'app/models/workarea/pricing/calculator.rb', line 26

def test_adjust(order, shippings = nil)
  request = TestRequest.new(order, Array(shippings))
  new(request).adjust
end