Class: AwsTools::S3::Bucket::Synchronize

Inherits:
Object
  • Object
show all
Defined in:
lib/aws_tools/s3.rb

Overview

Synchronize.

Performs the synchronization of one bucket.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Synchronize

Returns a new instance of Synchronize.



19
20
21
22
23
24
25
26
27
# File 'lib/aws_tools/s3.rb', line 19

def initialize(options = {})
  puts "AwsTools::S3::Bucket::Synchronize called."

  options.each_pair do |key, value| 
    self.send("#{key}=", value)
  end

  perform_synchronization
end

Instance Attribute Details

#backup_bucketObject

Returns the value of attribute backup_bucket.



17
18
19
# File 'lib/aws_tools/s3.rb', line 17

def backup_bucket
  @backup_bucket
end

#bucketObject

Returns the value of attribute bucket.



17
18
19
# File 'lib/aws_tools/s3.rb', line 17

def bucket
  @bucket
end