Class: CloudSync::Synchronizer

Inherits:
Object
  • Object
show all
Defined in:
lib/cloud_sync/synchronizer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#destinationObject

Returns the value of attribute destination.



4
5
6
# File 'lib/cloud_sync/synchronizer.rb', line 4

def destination
  @destination
end

#sourceObject

Returns the value of attribute source.



4
5
6
# File 'lib/cloud_sync/synchronizer.rb', line 4

def source
  @source
end

Instance Method Details

#synchronizeObject



11
12
13
# File 'lib/cloud_sync/synchronizer.rb', line 11

def synchronize
  raise "Not implemented"
end