Class: Rack::MockSession
- Inherits:
-
Object
- Object
- Rack::MockSession
- Defined in:
- lib/sinatra/synchrony/mock_session.rb
Instance Method Summary collapse
Instance Method Details
#request(uri, env) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/sinatra/synchrony/mock_session.rb', line 6 def request(uri, env) EM.synchrony do request_original uri, env EM.stop end end |
#request_original ⇒ Object
5 |
# File 'lib/sinatra/synchrony/mock_session.rb', line 5 alias_method :request_original, :request |