require tag_rule_applicator as it's not loaded automatically on OrderAvailableShippingMethods & OrderAvailablePaymentMethods

This commit is contained in:
Mohamed ABDELLANI
2023-12-26 15:09:28 +01:00
parent 3fab2c350e
commit 1ffdca3fc2
2 changed files with 4 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
# frozen_string_literal: true
require 'open_food_network/tag_rule_applicator'
class OrderAvailablePaymentMethods
attr_reader :order, :customer

View File

@@ -1,5 +1,7 @@
# frozen_string_literal: true
require 'open_food_network/tag_rule_applicator'
class OrderAvailableShippingMethods
attr_reader :order, :customer