Method: HTTPClient::BasicAuth#initialize

Defined in:
lib/httpclient/auth.rb

#initializeBasicAuth

Creates new BasicAuth filter.



255
256
257
258
259
260
# File 'lib/httpclient/auth.rb', line 255

def initialize
  super('Basic')
  @cred = nil
  @auth = {}
  @force_auth = false
end