Class: PlainAuthenticator

Inherits:
Object
  • Object
show all
Defined in:
lib/fetcher/plain_imap.rb

Overview

Authenticator for the “PLAIN” authentication type. See #authenticate().

Instance Method Summary collapse

Instance Method Details

#process(data) ⇒ Object



9
10
11
# File 'lib/fetcher/plain_imap.rb', line 9

def process(data)
  return "\0#{@user}\0#{@password}"
end