Class: Bard::Backup::S3Destination
- Inherits:
-
Destination
- Object
- Struct
- Destination
- Bard::Backup::S3Destination
- Defined in:
- lib/bard/backup/destination/s3_destination.rb
Instance Method Summary collapse
Methods inherited from Destination
Instance Method Details
#call ⇒ Object
10 11 12 13 14 |
# File 'lib/bard/backup/destination/s3_destination.rb', line 10 def call strategy.call(s3_tree, now) Deleter.new(s3_tree, now).call Bard::Backup.new(timestamp: now, destinations: [info]) end |
#info ⇒ Object
20 21 22 |
# File 'lib/bard/backup/destination/s3_destination.rb', line 20 def info config.slice(:name, :type, :path, :region) end |