Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 5571ca8c5c5f0972d05e173a5fa5543b7bc4f851 1 parent 887f725
@thetizzo thetizzo authored
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:
Please sign in to comment.
Something went wrong with that request. Please try again.