method

basic_encode

v2_1_10 - Show 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