Chicago / windy

43 stars 8 forks source link

Handle invalid app token error #5

Closed christophermanning closed 12 years ago

christophermanning commented 12 years ago

If a bad app_token was used, it would fail with the error undefined method 'gsub' for true:TrueClass.

This change adds a Windy::Response::RaiseClientError response middleware for handling errors that may come back from the api and fixes some spelling errors.