Class: Imap::Backup::Account::Restore
- Inherits:
-
Object
- Object
- Imap::Backup::Account::Restore
- Defined in:
- lib/imap/backup/account/restore.rb
Overview
Restores all backed up folders to the server
Instance Method Summary collapse
-
#initialize(account:, delimiter: "/", prefix: "") ⇒ Restore
constructor
A new instance of Restore.
-
#run ⇒ void
Runs the restore operation.
Constructor Details
#initialize(account:, delimiter: "/", prefix: "") ⇒ Restore
Returns a new instance of Restore.
11 12 13 14 15 |
# File 'lib/imap/backup/account/restore.rb', line 11 def initialize(account:, delimiter: "/", prefix: "") @account = account @destination_delimiter = delimiter @destination_prefix = prefix end |