Module: Net::HTTPHeader

Included in:
HTTParty::Response::Headers
Defined in:
lib/httparty/net_digest_auth.rb

Defined Under Namespace

Classes: DigestAuthenticator

Instance Method Summary (collapse)

Instance Method Details

- (Object) digest_auth(username, password, response)



6
7
8
9
# File 'lib/httparty/net_digest_auth.rb', line 6

def digest_auth(username, password, response)
  @header['Authorization'] = DigestAuthenticator.new(username, password,
      @method, @path, response).authorization_header
end