Class: Imap::Backup::CLI::Restore

Inherits:
Thor
  • Object
show all
Includes:
Helpers, Thor::Actions
Defined in:
lib/imap/backup/cli/restore.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Helpers

#account, included, #load_config, #requested_accounts

Constructor Details

#initialize(email = nil, options) ⇒ Restore

Returns a new instance of Restore.



11
12
13
14
15
# File 'lib/imap/backup/cli/restore.rb', line 11

def initialize(email = nil, options)
  super([])
  @email = email
  @options = options
end

Instance Attribute Details

#emailObject (readonly)

Returns the value of attribute email.



8
9
10
# File 'lib/imap/backup/cli/restore.rb', line 8

def email
  @email
end

#optionsObject (readonly)

Returns the value of attribute options.



9
10
11
# File 'lib/imap/backup/cli/restore.rb', line 9

def options
  @options
end