mercadolibre_api 0.8 → 0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/mercadolibre_api/sellers/queries/get_id.rb +2 -3
- data/lib/mercadolibre_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96c3f19574e676eda68da05c48fb88272d92012131530018d387f8119200a714
|
4
|
+
data.tar.gz: 2a05558354073b4695acb3b660bbee8e82210c4f94040e0aa0c73e167a1f048d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f53b6aa38fea25258861b1f7d15f36bd3bb8c50f54a30a2d762dd49005f14ce118c98ca97a13fa2d8c919ef78ba54d4b9bf619759b93d6f8f6d61aabd2ed4e6
|
7
|
+
data.tar.gz: 34fbf61d43e06886fb119a471c29aa00ebb6b88918ae08346cce74bd64c4ee051896743e4e3f19bf2b010685a5514afa7c01989cce4c0bf200cef8757a4b006f
|
data/Gemfile.lock
CHANGED
@@ -5,8 +5,7 @@ module MercadolibreApi
|
|
5
5
|
module Sellers
|
6
6
|
module Queries
|
7
7
|
class GetID < ActiveInteraction::Base
|
8
|
-
|
9
|
-
string :site_code
|
8
|
+
string :product_id
|
10
9
|
|
11
10
|
def execute
|
12
11
|
response = Net::HTTP.get_response(product_uri)
|
@@ -16,7 +15,7 @@ module MercadolibreApi
|
|
16
15
|
private
|
17
16
|
|
18
17
|
def product_uri
|
19
|
-
URI("https://api.mercadolibre.com/items/#{
|
18
|
+
URI("https://api.mercadolibre.com/items/#{product_id}")
|
20
19
|
end
|
21
20
|
end
|
22
21
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mercadolibre_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.9'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pablo Gonzaga
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_interaction
|