method
basic_encode
ruby latest stable - Class:
Net::HTTPHeader
basic_encode(account, password)private
No documentation available.
# File lib/net/http/header.rb, line 428
def basic_encode(account, password)
'Basic ' + ["#{account}:#{password}"].pack('m').delete("\r\n")
end