Module: RackMyOpenid::BackportedRackDigestFix
- Defined in:
- lib/rack_my_openid/backported_rack_digest_fix.rb
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/rack_my_openid/backported_rack_digest_fix.rb', line 5 def self.included(klass) klass.class_eval do def request @request ||= Rack::Request.new(@env) end def correct_uri? request.fullpath == uri end end end |