Object
Authenticator for the “LOGIN” authentication type. See authenticate().
# File net/imap.rb, line 3257 def initialize(user, password) @user = user @password = password @state = STATE_USER end
# File net/imap.rb, line 3242 def process(data) case @state when STATE_USER @state = STATE_PASSWORD return @user when STATE_PASSWORD return @password end end
This page was generated for Ruby 1.9.2
Ruby-doc.org is provided by James Britt and Neurogami. Hack your world. Feed your head. Live curious.
Generated with the Rubydoc Rdoc Generator 0.9.3.