class Spidr::AuthCredential

Represents HTTP Authentication credentials for a website.

Attributes

password[R]

The password

username[R]

The username

Public Class Methods

new(username,password) click to toggle source

Creates a new credential used for authentication.

@param [String] username

The username for the credential.

@param [String] password

The password for the credential.
# File lib/spidr/auth_credential.rb, line 24
def initialize(username,password)
  @username = username
  @password = password
end