Class | HTTPAuth::Digest::Session |
In: |
lib/httpauth/digest.rb
|
Parent: | Object |
opaque | [RW] | |
options | [RW] |
Initializes the new Session object.
# File lib/httpauth/digest.rb, line 552 552: def initialize(opaque, options={}) 553: self.opaque = opaque 554: self.options = options 555: end
Returns the data from this session
# File lib/httpauth/digest.rb, line 565 565: def load 566: begin 567: File.open(filename, 'r') do |f| 568: Marshal.load f.read 569: end 570: rescue Errno::ENOENT 571: {} 572: end 573: end