Object
Authenticator for the “LOGIN” authentication type. See authenticate().
# File net/imap.rb, line 3384 def initialize(user, password) @user = user @password = password @state = STATE_USER end
# File net/imap.rb, line 3369 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 2.0
Ruby-doc.org is hosted by James Britt and Neurogami, an avant garage research + development in Scottsdale, AZ.
Generated with Ruby-doc Rdoc Generator 0.24.6.