Class: Hermeneutics::Cli::ImapTools::Fetch

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

Constant Summary collapse

NAME =
:FETCH

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(seqset, items) ⇒ Fetch

Returns a new instance of Fetch.



204
205
206
207
208
# File 'lib/hermeneutics/cli/imap/commands.rb', line 204

def initialize seqset, items
  super *[]
  @seqset = to_seqset seqset
  @items = items
end

Instance Method Details

#paramsObject



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

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