Class: Hermeneutics::Cli::ImapTools::List

Inherits:
CommandNamed show all
Defined in:
lib/hermeneutics/cli/imap/commands.rb

Direct Known Subclasses

DataLsub

Constant Summary collapse

NAME =
:LIST

Instance Attribute Summary

Attributes inherited from Command

#responses

Instance Method Summary collapse

Methods inherited from CommandNamed

#name

Methods inherited from Command

#add_response, #stream_lines

Constructor Details

#initialize(ref, mailbox) ⇒ List

Returns a new instance of List.



263
264
265
266
# File 'lib/hermeneutics/cli/imap/commands.rb', line 263

def initialize ref, mailbox
  super *[]
  @ref, @mailbox = ref, mailbox
end

Instance Method Details

#paramsObject



268
# File 'lib/hermeneutics/cli/imap/commands.rb', line 268

def params ; [ @ref, @mailbox] ; end