Sha256: 74ee19fb7b1f21a335679cbb664929eb9bd55b0c7b56b534d011970f4b881d54
Contents?: true
Size: 459 Bytes
Versions: 3
Compression:
Stored size: 459 Bytes
Contents
class Usher module Interface class Rack # Middleware for using Usher's rack interface to recognize the request, then, pass on to the next application. # Values are stored in <tt>env</tt> normally. # class Middleware def initialize(app, router) @app = app @router = router end def call(env) @router.call(env) @app.call(env) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
usher-0.7.4 | lib/usher/interface/rack/middleware.rb |
usher-0.7.3 | lib/usher/interface/rack/middleware.rb |
usher-0.7.2 | lib/usher/interface/rack/middleware.rb |