From 1ffdca3fc2d36211b9957e70197b99be0300bb8b Mon Sep 17 00:00:00 2001 From: Mohamed ABDELLANI Date: Tue, 26 Dec 2023 15:09:28 +0100 Subject: [PATCH] require tag_rule_applicator as it's not loaded automatically on OrderAvailableShippingMethods & OrderAvailablePaymentMethods --- app/services/order_available_payment_methods.rb | 2 ++ app/services/order_available_shipping_methods.rb | 2 ++ 2 files changed, 4 insertions(+) diff --git a/app/services/order_available_payment_methods.rb b/app/services/order_available_payment_methods.rb index dc0784d9095..84ea0f870f9 100644 --- a/app/services/order_available_payment_methods.rb +++ b/app/services/order_available_payment_methods.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +require 'open_food_network/tag_rule_applicator' + class OrderAvailablePaymentMethods attr_reader :order, :customer diff --git a/app/services/order_available_shipping_methods.rb b/app/services/order_available_shipping_methods.rb index 9b4bcf76bac..8cd30fd8044 100644 --- a/app/services/order_available_shipping_methods.rb +++ b/app/services/order_available_shipping_methods.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +require 'open_food_network/tag_rule_applicator' + class OrderAvailableShippingMethods attr_reader :order, :customer