Class: SolidusSubscriptions::Dispatcher::Base
- Inherits:
-
Object
- Object
- SolidusSubscriptions::Dispatcher::Base
- Defined in:
- lib/solidus_subscriptions/dispatcher/base.rb
Direct Known Subclasses
FailureDispatcher, OutOfStockDispatcher, PaymentFailedDispatcher, SuccessDispatcher
Instance Attribute Summary collapse
-
#installment ⇒ Object
readonly
Returns the value of attribute installment.
-
#order ⇒ Object
readonly
Returns the value of attribute order.
Instance Method Summary collapse
- #dispatch ⇒ Object
-
#initialize(installment, order) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(installment, order) ⇒ Base
Returns a new instance of Base.
8 9 10 11 |
# File 'lib/solidus_subscriptions/dispatcher/base.rb', line 8 def initialize(installment, order) @installment = installment @order = order end |
Instance Attribute Details
#installment ⇒ Object (readonly)
Returns the value of attribute installment.
6 7 8 |
# File 'lib/solidus_subscriptions/dispatcher/base.rb', line 6 def installment @installment end |
#order ⇒ Object (readonly)
Returns the value of attribute order.
6 7 8 |
# File 'lib/solidus_subscriptions/dispatcher/base.rb', line 6 def order @order end |
Instance Method Details
#dispatch ⇒ Object
13 14 15 |
# File 'lib/solidus_subscriptions/dispatcher/base.rb', line 13 def dispatch raise NotImplementedError end |