lib/penthouse/app.rb in penthouse-0.3.0 vs lib/penthouse/app.rb in penthouse-0.4.0
- old
+ new
@@ -25,9 +25,10 @@
self.runner = runner
end
# @param env [Hash] the environment passed from Rack
# @raise [Penthouse::TenantNotFound] if the tenant cannot be found/switched to
+ # @return [void]
def call(env)
request = Rack::Request.new(env)
runner.call(router.call(request)) do
app.call(env)
end