bin/weather-report in weather-report-0.1.1 vs bin/weather-report in weather-report-0.2.0
- old
+ new
@@ -1,3 +1,6 @@
#!/usr/bin/env ruby
require 'weather-report'
+
+weather = WeatherReport::Weather.new(WeatherReport::Weather.request_cityid(ARGV[0]))
+puts weather.to_h