Sha256: 65b89d6dcf14ba3cff83d2ecbf3fe416da53d0f71e52d9c734e696d97633eb00
Contents?: true
Size: 451 Bytes
Versions: 203
Compression:
Stored size: 451 Bytes
Contents
module Rack module Test class MockDigestRequest # :nodoc: def initialize(params) @params = params end def method_missing(sym) if @params.has_key? k = sym.to_s return @params[k] end super end def method @params['method'] end def response(password) Rack::Auth::Digest::MD5.new(nil).send :digest, self, password end end end end
Version data entries
203 entries across 176 versions & 39 rubygems