Skip to content

Commit

Permalink
require tag_rule_applicator as it's not loaded automatically on Order…
Browse files Browse the repository at this point in the history
…AvailableShippingMethods & OrderAvailablePaymentMethods
  • Loading branch information
abdellani committed Jan 3, 2024
1 parent 3fab2c3 commit 1ffdca3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/services/order_available_payment_methods.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require 'open_food_network/tag_rule_applicator'

class OrderAvailablePaymentMethods
attr_reader :order, :customer

Expand Down
2 changes: 2 additions & 0 deletions app/services/order_available_shipping_methods.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require 'open_food_network/tag_rule_applicator'

class OrderAvailableShippingMethods
attr_reader :order, :customer

Expand Down

0 comments on commit 1ffdca3

Please sign in to comment.