Sha256: 3a675fc700fa83153bf608026c60077e3a4a325d6b75b832a3c0df69cea97a57
Contents?: true
Size: 196 Bytes
Versions: 9
Compression:
Stored size: 196 Bytes
Contents
class Net::SMTP class AuthPlain < Net::SMTP::Authenticator auth_type :plain def auth(user, secret) finish('AUTH PLAIN ' + base64_encode("\0#{user}\0#{secret}")) end end end
Version data entries
9 entries across 9 versions & 5 rubygems