twitteroauth
twitteroauth copied to clipboard
Throw exceptions for non-2XX HTTP responses
Users shouldn't have to check if the response code is a HTTP 2XX.
@abraham I think it'd be better if it has an option for this.
Because some of API, status is non-2xx doesn't mean it's error, such as 'account_activity/all/:env_name/subscriptions' for the case user's already subscribed.
TwitterOAuth is in maintenance mode and major improvements are no longer planned. https://github.com/abraham/twitteroauth/issues/1188