Class: Corzinus::UpdateAddress
- Inherits:
-
Checkout::AddressStep
- Object
- Rectify::Command
- Checkout::AddressStep
- Corzinus::UpdateAddress
- Defined in:
- app/commands/corzinus/update_address.rb
Instance Attribute Summary
Attributes inherited from Checkout::AddressStep
#addressable, #addresses, #params
Instance Method Summary collapse
-
#initialize(options) ⇒ UpdateAddress
constructor
A new instance of UpdateAddress.
Methods inherited from Checkout::AddressStep
Methods included from AddressableAttrubutes
#address_by_params, #addresses_by_model, #addresses_by_params, #set_countries
Constructor Details
#initialize(options) ⇒ UpdateAddress
Returns a new instance of UpdateAddress.
3 4 5 6 7 |
# File 'app/commands/corzinus/update_address.rb', line 3 def initialize() @addressable = [:addressable] @params = [:params] @addresses = [address_by_params(params[:address])] end |