Class: SolidusIndia::CgstCalculator

Inherits:
Spree::Calculator
  • Object
show all
Defined in:
app/models/solidus_india/cgst_calculator.rb

Instance Method Summary collapse

Instance Method Details

#compute_line_item(line_item) ⇒ Object



7
8
9
# File 'app/models/solidus_india/cgst_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/cgst_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/cgst_calculator.rb', line 15

def compute_shipping_rate(shipping)
  calculate_rates(shipping)
end