README.md in weather-api-1.1.1 vs README.md in weather-api-1.2.0
- old
+ new
@@ -20,10 +20,10 @@
require 'rubygems'
require 'weather-api'
# look up WOEID via http://weather.yahoo.com; enter location by city
# name or zip and WOEID is at end of resulting page url.
- response = Weather.lookup(9830)
+ response = Weather.lookup(9830, Weather::Units::CELSIUS)
print <<EOT
#{response.title}
#{response.condition.temp} degrees
#{response.condition.text}