Class: ShoppingCart::AddCheckoutDelivery
- Inherits:
-
Rectify::Command
- Object
- Rectify::Command
- ShoppingCart::AddCheckoutDelivery
- Defined in:
- app/commands/shopping_cart/add_checkout_delivery.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(order, params) ⇒ AddCheckoutDelivery
constructor
A new instance of AddCheckoutDelivery.
Constructor Details
#initialize(order, params) ⇒ AddCheckoutDelivery
Returns a new instance of AddCheckoutDelivery.
3 4 5 6 |
# File 'app/commands/shopping_cart/add_checkout_delivery.rb', line 3 def initialize(order, params) @order = order @params = params end |
Instance Method Details
#call ⇒ Object
8 9 10 |
# File 'app/commands/shopping_cart/add_checkout_delivery.rb', line 8 def call update_delivery end |