Make update the only public method

I think this got lost when refactoring, but only `update` is meant
to be a public method, other than `new`.
This commit is contained in:
Gaetan Craig-Riou
2023-09-15 11:42:04 +02:00
parent 0c005ad734
commit 776f478038

View File

@@ -32,6 +32,8 @@ class VoucherAdjustmentsService
end
end
private
def handle_tax_excluded_from_price(voucher)
voucher_rate = voucher.rate(@order)
adjustment = @order.voucher_adjustments.first