Skip to content

Loading…

Update Middleware section in README #342

Merged
merged 1 commit into from

3 participants

@thetizzo

Middleware section referenced Twitter::Response::RaiseClientError which no longer exists.  Updated to reference Twitter::Response::RaiseError instead.

@thetizzo thetizzo Update Middleware section in README
Middleware section referenced Twitter::Response::RaiseClientError which no longer exists.  Updated to reference Twitter::Response::RaiseError instead.
5571ca8
@stve stve merged commit cb1a974 into sferik:master
@stve
Collaborator

Nice catch, thanks!

@thetizzo

My pleasure.

@sferik
Owner

Yup, double thanks! And thanks to you for reviewing and merging, Steve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 10, 2013
  1. @thetizzo

    Update Middleware section in README

    thetizzo committed
    Middleware section referenced Twitter::Response::RaiseClientError which no longer exists.  Updated to reference Twitter::Response::RaiseError instead.
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:
Something went wrong with that request. Please try again.