summaryrefslogtreecommitdiff
path: root/app/services/solidus_subscriptions/dispatcher.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/solidus_subscriptions/dispatcher.rb')
-rw-r--r--app/services/solidus_subscriptions/dispatcher.rb23
1 files changed, 0 insertions, 23 deletions
diff --git a/app/services/solidus_subscriptions/dispatcher.rb b/app/services/solidus_subscriptions/dispatcher.rb
deleted file mode 100644
index 0472f79..0000000
--- a/app/services/solidus_subscriptions/dispatcher.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# frozen_string_literal: true
-
-module SolidusSubscriptions
- class Dispatcher
- attr_reader :installments, :order
-
- # Returns a new instance of this dispatcher.
- #
- # @param installments [Array<SolidusSubscriptions::Installment>] The installments to process
- # with this dispatcher
- # @param order [Spree::Order] The order that was generated as a result of these installments
- #
- # @return [SolidusSubscriptions::Dispatcher]
- def initialize(installments, order = nil)
- @installments = installments
- @order = order
- end
-
- def dispatch
- raise NotImplementedError
- end
- end
-end