Class: SpreeCmCommissioner::OrderRejectedNotificationSender
- Inherits:
-
BaseInteractor
- Object
- BaseInteractor
- SpreeCmCommissioner::OrderRejectedNotificationSender
- Defined in:
- app/interactors/spree_cm_commissioner/order_rejected_notification_sender.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
3 4 5 6 7 8 9 |
# File 'app/interactors/spree_cm_commissioner/order_rejected_notification_sender.rb', line 3 def call notification = SpreeCmCommissioner::OrderRejectedNotification.with( order: context.order ).deliver_later(context.order.user) context.notification = notification end |