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
9 10 11 12 13 |
# File 'lib/bard/backup/destination/s3_destination.rb', line 9 def call strategy.call(s3_tree, now) Deleter.new(s3_tree, now).call Bard::Backup.new(timestamp: now, destinations: [info]) end |
#info ⇒ Object
19 20 21 |
# File 'lib/bard/backup/destination/s3_destination.rb', line 19 def info config.slice(:name, :type, :path, :region) end |