buscape_api 0.5.4 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- data/buscape_api.gemspec +1 -1
- data/lib/buscape_api/base.rb +2 -2
- metadata +1 -1
data/buscape_api.gemspec
CHANGED
@@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "buscape_api"
|
5
|
-
s.version = "0.5.
|
5
|
+
s.version = "0.5.5"
|
6
6
|
s.email = ["t@art-is-t.me"]
|
7
7
|
s.authors = ["Thiago Fernandes Massa"]
|
8
8
|
s.homepage = "http://github.com/thiagofm/buscape_api"
|
data/lib/buscape_api/base.rb
CHANGED
@@ -13,7 +13,7 @@ class Base
|
|
13
13
|
{ :method => :offers, :service => :findOffersList, :item => :offer },
|
14
14
|
{ :method => :top_products, :service => :topProducts },
|
15
15
|
{ :method => :user_ratings, :service => :viewUserRatings },
|
16
|
-
{ :method => :product_details, :service => :
|
16
|
+
{ :method => :product_details, :service => :viewProductDetails },
|
17
17
|
{ :method => :seller_details, :service => :viewSellerDetails }
|
18
18
|
]
|
19
19
|
@methods = @services.map { |service| service[:method] }
|
@@ -60,4 +60,4 @@ class Base
|
|
60
60
|
raise NoMethodError
|
61
61
|
end
|
62
62
|
end
|
63
|
-
end
|
63
|
+
end
|