Class: Clientside::Middleware
- Inherits:
-
NoResMiddleware
- Object
- NoResMiddleware
- Clientside::Middleware
- Defined in:
- lib/clientside.rb
Constant Summary
Constants inherited from NoResMiddleware
NoResMiddleware::MAX_OBJECTS, NoResMiddleware::PENDING_TTL, NoResMiddleware::RPATH
Instance Method Summary collapse
-
#initialize(*args) ⇒ Middleware
constructor
A new instance of Middleware.
Methods inherited from NoResMiddleware
add_pending, #call, #handle_message, #register_obj
Constructor Details
#initialize(*args) ⇒ Middleware
Returns a new instance of Middleware.
157 158 159 160 161 |
# File 'lib/clientside.rb', line 157 def initialize(*args) super @app = Rack::Static.new( @app, urls: ['/__clientside_res__'], root: GEM_DIR) end |