Sha256: b44ec2f54aace5cf46398d2746f14681d694034e6eacdc7d8e45319bbcd082b3

Contents?: true

Size: 534 Bytes

Versions: 17

Compression:

Stored size: 534 Bytes

Contents

module Spidr
  #
  # Represents HTTP Authentication credentials for a website.
  #
  class AuthCredential

    # The username
    attr_reader :username

    # The password
    attr_reader :password

    #
    # Creates a new credential used for authentication.
    #
    # @param [String] username
    #   The username for the credential.
    #
    # @param [String] password
    #   The password for the credential.
    #
    def initialize(username,password)
      @username = username
      @password = password
    end

  end
end

Version data entries

17 entries across 17 versions & 3 rubygems

Version Path
spidr-0.7.0 lib/spidr/auth_credential.rb
spidr-0.6.1 lib/spidr/auth_credential.rb
spidr-0.6.0 lib/spidr/auth_credential.rb
spidr-0.5.0 lib/spidr/auth_credential.rb
spidr_epg_gem-0.0.1 lib/spidr_epg/auth_credential.rb
spidr_epg_gem-0.0.0 lib/spidr_epg/auth_credential.rb
spidr_epg-1.0.0 lib/spidr/auth_credential.rb
spidr-0.4.1 lib/spidr/auth_credential.rb
spidr-0.4.0 lib/spidr/auth_credential.rb
spidr-0.3.2 lib/spidr/auth_credential.rb
spidr-0.3.1 lib/spidr/auth_credential.rb
spidr-0.3.0 lib/spidr/auth_credential.rb
spidr-0.2.7 lib/spidr/auth_credential.rb
spidr-0.2.6 lib/spidr/auth_credential.rb
spidr-0.2.5 lib/spidr/auth_credential.rb
spidr-0.2.4 lib/spidr/auth_credential.rb
spidr-0.2.3 lib/spidr/auth_credential.rb