Skip to content
Browse files

Update Middleware section in README

Middleware section referenced Twitter::Response::RaiseClientError which no longer exists.  Updated to reference Twitter::Response::RaiseError instead.
  • Loading branch information...
1 parent 887f725 commit 5571ca8c5c5f0972d05e173a5fa5543b7bc4f851 @thetizzo thetizzo committed Jan 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 README.md
@@ -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:

0 comments on commit 5571ca8

Please sign in to comment.
Something went wrong with that request. Please try again.