Class: Imap::Backup::CLI::Transfer
- Inherits:
-
Thor
- Object
- Thor
- Imap::Backup::CLI::Transfer
- Includes:
- Helpers, Thor::Actions
- Defined in:
- lib/imap/backup/cli/transfer.rb
Constant Summary collapse
- ACTIONS =
%i(migrate mirror).freeze
Instance Method Summary collapse
-
#initialize(action, source_email, destination_email, options) ⇒ Transfer
constructor
A new instance of Transfer.
Methods included from Helpers
#account, #load_config, #requested_accounts
Constructor Details
#initialize(action, source_email, destination_email, options) ⇒ Transfer
Returns a new instance of Transfer.
17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/imap/backup/cli/transfer.rb', line 17 def initialize(action, source_email, destination_email, ) super([]) @action = action @source_email = source_email @destination_email = destination_email @options = @automatic_namespaces = nil @config_path = nil @destination_delimiter = nil @destination_prefix = nil @reset = nil @source_delimiter = nil @source_prefix = nil end |