Class: AwsTools::S3::Bucket::Synchronize
- Inherits:
-
Object
- Object
- AwsTools::S3::Bucket::Synchronize
- Defined in:
- lib/aws_tools/s3.rb
Overview
Synchronize.
Performs the synchronization of one bucket.
Instance Attribute Summary collapse
-
#backup_bucket ⇒ Object
Returns the value of attribute backup_bucket.
-
#bucket ⇒ Object
Returns the value of attribute bucket.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Synchronize
constructor
A new instance of Synchronize.
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( = {}) puts "AwsTools::S3::Bucket::Synchronize called." .each_pair do |key, value| self.send("#{key}=", value) end perform_synchronization end |
Instance Attribute Details
#backup_bucket ⇒ Object
Returns the value of attribute backup_bucket.
17 18 19 |
# File 'lib/aws_tools/s3.rb', line 17 def backup_bucket @backup_bucket end |
#bucket ⇒ Object
Returns the value of attribute bucket.
17 18 19 |
# File 'lib/aws_tools/s3.rb', line 17 def bucket @bucket end |