Update Middleware section in README #342

Merged
merged 1 commit into from Jan 10, 2013
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Diff settings

Always

Just for now

View
@@ -267,7 +267,7 @@ The Faraday middleware stack is fully configurable and is exposed as a
`Faraday::Builder` object. You can modify the default middleware in-place:
```ruby
-Twitter.middleware.insert_after Twitter::Response::RaiseClientError, CustomMiddleware
+Twitter.middleware.insert_after Twitter::Response::RaiseError, CustomMiddleware
```
A custom adapter may be set as part of a custom middleware stack: