Skip to content

Commit c7446b5

Browse files
committed
Updated readme to include units in Forecast
1 parent 3044ddc commit c7446b5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ Add the following to your **Gemfile**
3333
# get weather forecast by city name
3434
OpenWeather::Forecast.city("Cochin, IN")
3535

36+
# get weather forecast by city name in fahrenheit
37+
OpenWeather::Forecast.city("Cochin, IN", units: 'fahrenheit')
38+
3639
# get weather forecast by city id
3740
OpenWeather::Forecast.city_id("1273874")
3841

0 commit comments

Comments
 (0)