Skip to content

Commit

Permalink
Update Middleware section in README
Browse files Browse the repository at this point in the history
Middleware section referenced Twitter::Response::RaiseClientError which no longer exists.  Updated to reference Twitter::Response::RaiseError instead.
  • Loading branch information
thetizzo committed Jan 10, 2013
1 parent 887f725 commit 5571ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5571ca8

Please sign in to comment.