Class: SolidusSubscriptions::Dispatcher::SuccessDispatcher
- Defined in:
- lib/solidus_subscriptions/dispatcher/success_dispatcher.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from SolidusSubscriptions::Dispatcher::Base
Instance Method Details
#dispatch ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/solidus_subscriptions/dispatcher/success_dispatcher.rb', line 6 def dispatch installment.success!(order) ::SolidusSupport::LegacyEventCompat::Bus.publish( :'solidus_subscriptions.installment_succeeded', installment: installment, order: order, ) end |