123456789_123456789_123456789_123456789_123456789_

Class: Net::SMTP::AuthPlain

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: Net::SMTP::Authenticator
Defined in: lib/net/smtp/auth_plain.rb

Class Method Summary

Instance Attribute Summary

Authenticator - Inherited

Instance Method Summary

Constructor Details

This class inherits a constructor from Net::SMTP::Authenticator

Instance Method Details

#auth(user, secret)

[ GitHub ]

  
# File 'lib/net/smtp/auth_plain.rb', line 5

def auth(user, secret)
  finish('AUTH PLAIN ' + base64_encode("\0#{user}\0#{secret}"))
end