Sha256: 7920378731a5f07ec9fe3af6238a93f3869b623b4c9782c00c2b4e41976019e8

Contents?: true

Size: 589 Bytes

Versions: 3

Compression:

Stored size: 589 Bytes

Contents

require "heroku_pg_backups_archive/version"
require "heroku_pg_backups_archive/config"
require "heroku_pg_backups_archive/backup"
require "heroku_pg_backups_archive/backup_archive"
require "heroku_pg_backups_archive/backup_failed_error"
require "heroku_pg_backups_archive/toolbelt_helper"
require "heroku_pg_backups_archive/railtie"

module HerokuPgBackupsArchive
  class << self
    def config
      @config ||= Config.new
    end

    def configure
      yield config
    end

    def backup_and_archive
      backup = Backup.create
      BackupArchive.perform(backup)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
heroku_pg_backups_archive-0.1.2 lib/heroku_pg_backups_archive.rb
heroku_pg_backups_archive-0.1.1 lib/heroku_pg_backups_archive.rb
heroku_pg_backups_archive-0.1.0 lib/heroku_pg_backups_archive.rb