brookemckim/googleweather — pull request #7 by excid3 (2012-03-07 18:54:46+00:00)
Title: Use integer error codes

Found a little bug here. In the feed you were using the string representation of the response code and in the client you're checking the integer which never evaluated correctly. Relevant lines here at 37:

@response_code = response.code.to_i

if @response_code == 200

(Pardon all the space removal too)