Class: HerokuPgBackupsArchive::BackupArchive
- Inherits:
-
Object
- Object
- HerokuPgBackupsArchive::BackupArchive
- Defined in:
- lib/heroku_pg_backups_archive/backup_archive.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(backup) ⇒ BackupArchive
constructor
A new instance of BackupArchive.
- #perform ⇒ Object
Constructor Details
#initialize(backup) ⇒ BackupArchive
Returns a new instance of BackupArchive.
12 13 14 |
# File 'lib/heroku_pg_backups_archive/backup_archive.rb', line 12 def initialize(backup) @backup = backup end |
Class Method Details
.perform(backup) ⇒ Object
7 8 9 10 |
# File 'lib/heroku_pg_backups_archive/backup_archive.rb', line 7 def self.perform(backup) backup_archive = new(backup) backup_archive.perform end |
Instance Method Details
#perform ⇒ Object
16 17 18 |
# File 'lib/heroku_pg_backups_archive/backup_archive.rb', line 16 def perform s3.put_object(write_parameters) end |