module Faraday::Utils
def basic_header_from(login, pass)
def basic_header_from(login, pass) value = Base64.encode64("#{login}:#{pass}") value.delete!("\n") "Basic #{value}" end
def basic_header_from(login, pass) value = Base64.encode64("#{login}:#{pass}") value.delete!("\n") "Basic #{value}" end