Class: SolidusSubscriptions::OrderSubscriber

Inherits:
Object
  • Object
show all
Includes:
Omnes::Subscriber
Defined in:
app/subscribers/solidus_subscriptions/order_subscriber.rb

Instance Method Summary collapse

Instance Method Details

#create_subscription(event) ⇒ Object



9
10
11
# File 'app/subscribers/solidus_subscriptions/order_subscriber.rb', line 9

def create_subscription(event)
  SolidusSubscriptions::CreateSubscriptionJob.perform_later(event.payload[:order])
end