Class Rack::Mongoid::Middleware::IdentityMap
In: lib/rack/mongoid/middleware/identity_map.rb
Parent: Object

This middleware contains the behaviour needed to properly use the identity map in Rack based applications.

Methods

call   new  

Public Class methods

Initialize the new middleware.

@example Init the middleware. IdentityMap.new(app)

@param [ Object ] app The application.

@since 2.1.0

Public Instance methods

Make the request with the provided environment.

@example Make the request. identity_map.call(env)

@param [ Object ] env The environment.

@return [ Array ] The status, headers, and response.

@since 2.1.0

[Validate]