class Patron::Request

def credentials

def credentials
  return nil if username.nil? || password.nil?
  "#{username}:#{password}"
end