yahoo_ads_estimates 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/yahoo/ads_estimates.rb +2 -2
- data/yahoo_ads_estimates.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.4
|
data/lib/yahoo/ads_estimates.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'uri'
|
2
|
+
require 'open-uri'
|
2
3
|
require 'json'
|
3
4
|
|
4
5
|
module Yahoo
|
@@ -42,8 +43,7 @@ module Yahoo
|
|
42
43
|
end
|
43
44
|
|
44
45
|
def query(_budget)
|
45
|
-
open(request_uri(_budget)) { |f|
|
46
|
-
nil
|
46
|
+
open(request_uri(_budget)) { |f| f.string }
|
47
47
|
end
|
48
48
|
|
49
49
|
end
|
data/yahoo_ads_estimates.gemspec
CHANGED