Class: RHC::Rest::HTTPClient
- Inherits:
-
HTTPClient
- Object
- HTTPClient
- RHC::Rest::HTTPClient
- Defined in:
- lib/rhc/rest/httpclient.rb
Overview
An instance of HTTPClient that will support deferred Basic credentials and allow token challenges.
Instance Method Summary collapse
-
#initialize(*args) ⇒ HTTPClient
constructor
A new instance of HTTPClient.
Constructor Details
#initialize(*args) ⇒ HTTPClient
Returns a new instance of HTTPClient.
28 29 30 31 32 |
# File 'lib/rhc/rest/httpclient.rb', line 28 def initialize(*args) super @www_auth = WWWAuth.new @request_filter = [proxy_auth, www_auth] end |