Sha256: beab975a61e916e327b9d294538246859a9116d81ac60ab80d24361368c409a8
Contents?: true
Size: 565 Bytes
Versions: 1
Compression:
Stored size: 565 Bytes
Contents
# frozen_string_literal: true 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spidr-0.7.1 | lib/spidr/auth_credential.rb |