diff options
Diffstat (limited to 'app/services/solidus_subscriptions/out_of_stock_dispatcher.rb')
-rw-r--r-- | app/services/solidus_subscriptions/out_of_stock_dispatcher.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/app/services/solidus_subscriptions/out_of_stock_dispatcher.rb b/app/services/solidus_subscriptions/out_of_stock_dispatcher.rb deleted file mode 100644 index 05484f4..0000000 --- a/app/services/solidus_subscriptions/out_of_stock_dispatcher.rb +++ /dev/null @@ -1,10 +0,0 @@ -# frozen_string_literal: true - -# Handles installments that cannot be processed for lack of stock. -module SolidusSubscriptions - class OutOfStockDispatcher < Dispatcher - def dispatch - installments.each(&:out_of_stock) - end - end -end |