Class: Spree::Cart::Empty
- Inherits:
-
Object
- Object
- Spree::Cart::Empty
- Includes:
- ServiceModule::Base
- Defined in:
- app/services/spree/cart/empty.rb
Instance Method Summary collapse
Methods included from ServiceModule::Base
Instance Method Details
#call(order:) ⇒ Object
6 7 8 9 |
# File 'app/services/spree/cart/empty.rb', line 6 def call(order:) run :check_if_can_be_empty run :empty_order end |