Class: Backup::Storage::S3
- Inherits:
-
Object
- Object
- Backup::Storage::S3
- Defined in:
- lib/backup/storage/s3.rb
Instance Method Summary collapse
-
#initialize(adapter) ⇒ S3
constructor
Stores the backup file on the remote server using S3.
Constructor Details
#initialize(adapter) ⇒ S3
Stores the backup file on the remote server using S3
6 7 8 9 10 |
# File 'lib/backup/storage/s3.rb', line 6 def initialize(adapter) s3 = Backup::Connection::S3.new(adapter) s3.connect s3.store end |