Class: Stall::Addresses::CopySourceToTarget
- Inherits:
-
CopierBase
- Object
- CopierBase
- Stall::Addresses::CopySourceToTarget
show all
- Defined in:
- lib/stall/addresses/copy_source_to_target.rb
Instance Attribute Summary
Attributes inherited from CopierBase
#source, #target
Instance Method Summary
collapse
Methods inherited from CopierBase
#initialize
Instance Method Details
#copy ⇒ Object
10
11
12
13
|
# File 'lib/stall/addresses/copy_source_to_target.rb', line 10
def copy
copy_shipping_address
copy_billing_address
end
|
#copy! ⇒ Object
5
6
7
8
|
# File 'lib/stall/addresses/copy_source_to_target.rb', line 5
def copy!
copy
target.save!
end
|