Class: SolidusIndia::IgstCalculator
- Inherits:
-
Spree::Calculator
- Object
- Spree::Calculator
- SolidusIndia::IgstCalculator
- Defined in:
- app/models/solidus_india/igst_calculator.rb
Instance Method Summary collapse
- #compute_line_item(line_item) ⇒ Object
- #compute_shipment(shipment) ⇒ Object
- #compute_shipping_rate(shipping) ⇒ Object
Instance Method Details
#compute_line_item(line_item) ⇒ Object
7 8 9 |
# File 'app/models/solidus_india/igst_calculator.rb', line 7 def compute_line_item(line_item) calculate_rates(line_item) end |
#compute_shipment(shipment) ⇒ Object
11 12 13 |
# File 'app/models/solidus_india/igst_calculator.rb', line 11 def compute_shipment(shipment) calculate_rates(shipment) end |
#compute_shipping_rate(shipping) ⇒ Object
15 16 17 |
# File 'app/models/solidus_india/igst_calculator.rb', line 15 def compute_shipping_rate(shipping) calculate_rates(shipping) end |