Method: Rack::Auth::Digest::Nonce#initialize
- Defined in:
- lib/rack/auth/digest/nonce.rb
#initialize(timestamp = Time.now, given_digest = nil) ⇒ Nonce
Returns a new instance of Nonce.
27 28 29 |
# File 'lib/rack/auth/digest/nonce.rb', line 27 def initialize( = Time.now, given_digest = nil) @timestamp, @given_digest = .to_i, given_digest end |