Sha256: ede54c94bd1eb30c91d7a0a70b14913d564cae25ba1d3725b981c78fde8701e2
Contents?: true
Size: 607 Bytes
Versions: 2
Compression:
Stored size: 607 Bytes
Contents
# frozen_string_literal: true module Backup module Encryptor class Base include Utilities::Helpers include Config::Helpers def initialize load_defaults! end private ## # Return the encryptor name, with Backup namespace removed def encryptor_name self.class.to_s.sub("Backup::", "") end ## # Logs a message to the console and log file to inform # the client that Backup is encrypting the archive def log! Logger.info "Using #{encryptor_name} to encrypt the archive." end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
backupii-0.1.0.pre.alpha.2 | lib/backup/encryptor/base.rb |
backupii-0.1.0.pre.alpha.1 | lib/backup/encryptor/base.rb |