Class: Duplicati::Command
- Inherits:
-
Object
- Object
- Duplicati::Command
- Defined in:
- lib/duplicati/command.rb
Instance Method Summary collapse
-
#initialize(opts) ⇒ Command
constructor
A new instance of Command.
Constructor Details
#initialize(opts) ⇒ Command
Returns a new instance of Command.
4 5 6 7 8 9 |
# File 'lib/duplicati/command.rb', line 4 def initialize(opts) @duplicati_path = opts[:duplicati_path] @backup_store_path = opts[:backup_store_path] or raise ":backup_store_path option is missing!" @backup_encryption_key = opts[:backup_encryption_key] @log_path = opts[:log_path] end |