Method: Net::SMTP::Authenticator#base64_encode
- Defined in:
- lib/net/smtp/authenticator.rb
#base64_encode(str) ⇒ String
Returns Base64 encoded string.
51 52 53 54 |
# File 'lib/net/smtp/authenticator.rb', line 51 def base64_encode(str) # expects "str" may not become too long [str].pack('m0') end |