From 22ecbe0e4c520047c7b62be42c1607beb51991d2 Mon Sep 17 00:00:00 2001 From: Yoni Date: Mon, 23 May 2016 12:27:57 +0300 Subject: [PATCH] version but in module as well --- lib/yahoo_weatherman.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/yahoo_weatherman.rb b/lib/yahoo_weatherman.rb index 6c74e31..1a4cb30 100644 --- a/lib/yahoo_weatherman.rb +++ b/lib/yahoo_weatherman.rb @@ -13,7 +13,7 @@ module Weatherman - VERSION = '2.0.2' + VERSION = '2.0.3' URI = 'https://query.yahooapis.com/v1/public/yql?q=' @@ -57,7 +57,7 @@ def lookup_by_location(location) end private - + def woeid_query_url(woeid) "#{URI}select%20*%20from%20weather.forecast%20where%20woeid%20%3D%20#{woeid}%20and%20u%20%3D%20'#{degrees_units}'&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys" end