module HTTP::Chainable
def auth(value, opts = nil)
-
value
(#to_s
) -- Authorization header value
def auth(value, opts = nil) # shim for deprecated auth(:basic, opts). # will be removed in 0.8.0 return basic_auth(opts) if :basic == value with :authorization => value.to_s end