= private = protected
basic_auth(account, password)
Set the Authorization: header for “Basic” authorization.
# File lib/net/http/header.rb, line 419 def basic_auth(account, password) @header['authorization'] = [basic_encode(account, password)] end