Class HTTPAuth::Digest::AbstractHeader
In: lib/httpauth/digest.rb
Parent: Object

Superclass for all the header container classes

Methods

Attributes

h  [R]  holds directives and values for digest calculation

Public Instance methods

Redirects attribute messages to the internal directives

Example:

  class Credentials < AbstractHeader
    def initialize
      @h = { :username => 'Ben' }
    end
  end

  c = Credentials.new
  c.username #=> 'Ben'
  c.username = 'Mary'
  c.username #=> 'Mary'

[Validate]