Class: TaxRate

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/tax_rate.rb

Instance Method Summary collapse

Instance Method Details

#calculate_tax(order) ⇒ Object



11
12
13
# File 'app/models/tax_rate.rb', line 11

def calculate_tax(order)
  calculator.compute(order)
end