Module: SolidusSubscriptions::Spree::Order::AfterCreate

Defined in:
app/decorators/models/solidus_subscriptions/spree/order/after_create.rb

Instance Method Summary collapse

Instance Method Details

#ensure_line_items_presentObject


5
6
7
# File 'app/decorators/models/solidus_subscriptions/spree/order/after_create.rb', line 5

def ensure_line_items_present
  super unless subscription_order?
end

#send_cancel_emailObject


9
10
11
# File 'app/decorators/models/solidus_subscriptions/spree/order/after_create.rb', line 9

def send_cancel_email
  super unless subscription_order?
end