Class: ShoppingCart::GetCheckoutData

Inherits:
Rectify::Command
  • Object
show all
Defined in:
app/commands/shopping_cart/get_checkout_data.rb

Instance Method Summary collapse

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

#callObject



8
9
10
# File 'app/commands/shopping_cart/get_checkout_data.rb', line 8

def call
  return get_data
end