Class: CloudSync::Synchronizer
- Inherits:
-
Object
- Object
- CloudSync::Synchronizer
- Defined in:
- lib/cloud_sync/synchronizer.rb
Instance Attribute Summary collapse
-
#destination ⇒ Object
Returns the value of attribute destination.
-
#source ⇒ Object
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(source, destination) ⇒ Synchronizer
constructor
A new instance of Synchronizer.
- #synchronize ⇒ Object
Constructor Details
#initialize(source, destination) ⇒ Synchronizer
Returns a new instance of Synchronizer.
6 7 8 9 |
# File 'lib/cloud_sync/synchronizer.rb', line 6 def initialize source, destination @source = Resource.new source @destination = Resource.new destination end |
Instance Attribute Details
#destination ⇒ Object
Returns the value of attribute destination.
4 5 6 |
# File 'lib/cloud_sync/synchronizer.rb', line 4 def destination @destination end |
#source ⇒ Object
Returns the value of attribute source.
4 5 6 |
# File 'lib/cloud_sync/synchronizer.rb', line 4 def source @source end |
Instance Method Details
#synchronize ⇒ Object
11 12 13 |
# File 'lib/cloud_sync/synchronizer.rb', line 11 def synchronize raise "Not implemented" end |