Sha256: 53b664d438edd8ef65dd55ab5001fa4d3f6e6ecd9d03e1308f1fbd6d835cfa67

Contents?: true

Size: 737 Bytes

Versions: 4

Compression:

Stored size: 737 Bytes

Contents

# encoding: utf-8

module Backup
  module Configuration
    module Notifier
      class Base < Configuration::Base
        class << self

          ##
          # When set to true, the user will be notified by email
          # when a backup process ends without raising any exceptions
          attr_accessor :on_success

          ##
          # When set to true, the user will be notified by email
          # when a backup process ends successfully, but logged warnings
          attr_accessor :on_warning

          ##
          # When set to true, the user will be notified by email
          # when a backup process raises an exception before finishing
          attr_accessor :on_failure

        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
backup_checksum-3.0.23 lib/backup/configuration/notifier/base.rb
backup-3.0.23 lib/backup/configuration/notifier/base.rb
backup-3.0.22 lib/backup/configuration/notifier/base.rb
backup-3.0.21 lib/backup/configuration/notifier/base.rb