Parent

Methods

Class/Module Index [+]

Quicksearch

Backup::Syncer::Cloud::S3

Attributes

access_key_id[RW]

Amazon Simple Storage Service (S3) Credentials

bucket[RW]

The S3 bucket to store files to

region[RW]

The AWS region of the specified S3 bucket

secret_access_key[RW]

Amazon Simple Storage Service (S3) Credentials

Public Class Methods

new(&block) click to toggle source

Instantiates a new Cloud::S3 Syncer.

Pre-configured defaults specified in Configuration::Syncer::Cloud::S3 are set via a super() call to Cloud::Base, which in turn will invoke Syncer::Base.

Once pre-configured defaults and Cloud specific defaults are set, the block from the user's configuration file is evaluated.

# File lib/backup/syncer/cloud/s3.rb, line 29
def initialize(&block)
  super

  instance_eval(&block) if block_given?
  @path = path.sub(/^\//, '')
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.