module HerokuPgBackupsArchive

Constants

VERSION

Public Class Methods

backup_and_archive() click to toggle source
# File lib/heroku_pg_backups_archive.rb, line 19
def backup_and_archive
  backup = Backup.create
  BackupArchive.perform(backup)
  config.after_complete.call unless config.after_complete.nil?
end
config() click to toggle source
# File lib/heroku_pg_backups_archive.rb, line 11
def config
  @config ||= Config.new
end
configure() { |config| ... } click to toggle source
# File lib/heroku_pg_backups_archive.rb, line 15
def configure
  yield config
end