class Patron::Request
def credentials
-
(String, NilClass)
- the authentication string or nil if no authentication is used
def credentials return nil if username.nil? || password.nil? "#{username}:#{password}" end
(String, NilClass)
- the authentication string or nil if no authentication is used
def credentials return nil if username.nil? || password.nil? "#{username}:#{password}" end