Class: Hermeneutics::Cli::ImapTools::Status

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

Constant Summary collapse

NAME =
:STATUS

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(mailbox, *items) ⇒ Status

Returns a new instance of Status.



250
251
252
253
# File 'lib/hermeneutics/cli/imap/commands.rb', line 250

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

Instance Method Details

#paramsObject



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

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