Class: Imap::Backup::CLI::Folders

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Helpers

#account, #connection, #each_connection, #symbolized

Constructor Details

#initialize(options) ⇒ Folders

Returns a new instance of Folders.


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

def initialize(options)
  super([])
  @account_names = (options[:accounts] || "").split(",")
end

Instance Attribute Details

#account_namesObject (readonly)

Returns the value of attribute account_names.


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

def 
  @account_names
end