```ruby
Rails.application.config.middleware.use(
  Rack::Escrow::Middleware,
  Rails.application)

# ================================
# When using with Devise / Warden,
#   we want to wrap their
#   authentication responses
# ================================
#   Rails.application.config.middleware.insert_before(
#     Warden::Manager,
#     Rack::Escrow::Middleware,
#     Rails.application)

```

Add $redis argument to example initialization
user
```ruby
Rails.application.config.middleware.use(
  Rack::Escrow::Middleware,
  Rails.application,
  $redis)

# ================================
# When using with Devise / Warden,
#   we want to wrap their
#   authentication responses
# ================================
#   Rails.application.config.middleware.insert_before(
#     Warden::Manager,
#     Rack::Escrow::Middleware,
#     Rails.application,
#     $redis)

```
assistant