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