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, #connection, #each_connection, included, #load_config

Constructor Details

#initialize(email = nil, options) ⇒ Restore

Returns a new instance of Restore.


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

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

Instance Attribute Details

#emailObject (readonly)

Returns the value of attribute email.


6
7
8
# File 'lib/imap/backup/cli/restore.rb', line 6

def email
  @email
end

#optionsObject (readonly)

Returns the value of attribute options.


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

def options
  @options
end