jnunemaker/google-weather — Issue #3: String input will cause an exception
Author: ericwright90
Created: 2012-02-08 17:14:56+00:00
State: open

I recently ran into an issue where users would enter an invalid zip code such as 90000 and running a declaration such as like GoogleWeather.new(zip_code) with zip_code as a string would raise an exception. Having the initialization convert the zip_code to an integer would resolve this issue.