Sha256: 214f062469c5fd5b7157100c0e28392cff966b3a213abd91ebbed651dd424c79

Contents?: true

Size: 183 Bytes

Versions: 53

Compression:

Stored size: 183 Bytes

Contents

class Rack::App::Middlewares::Hooks::After < Rack::App::Middlewares::Hooks::Base
  def call(env)
    response = @app.call(env)
    
    return execute_hook(env) || response
  end
end

Version data entries

53 entries across 53 versions & 2 rubygems

Version Path
rack-app-6.1.0 lib/rack/app/middlewares/hooks/after.rb
rack-app-6.0.0 lib/rack/app/middlewares/hooks/after.rb
rack-app-5.12.0 lib/rack/app/middlewares/hooks/after.rb
rack-app-5.11.1 lib/rack/app/middlewares/hooks/after.rb
rack-app-5.11.0 lib/rack/app/middlewares/hooks/after.rb
rack-app-5.10.2 lib/rack/app/middlewares/hooks/after.rb
rack-app-5.10.1 lib/rack/app/middlewares/hooks/after.rb
rack-app-5.10.0 lib/rack/app/middlewares/hooks/after.rb
rack-app-5.9.0 lib/rack/app/middlewares/hooks/after.rb
rack-app-5.8.0 lib/rack/app/middlewares/hooks/after.rb
rack-app-5.7.0 lib/rack/app/middlewares/hooks/after.rb
rack-app-5.7.0.rc lib/rack/app/middlewares/hooks/after.rb
rack-app-5.6.0 lib/rack/app/middlewares/hooks/after.rb