mercadolibre 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/mercadolibre/core/shippings.rb +8 -0
- data/lib/mercadolibre/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e8bf2e14ad7010294be1ce17b3fffc76a66e5eb
|
4
|
+
data.tar.gz: bcf0e017bf293c2764aa7f61b1e1e9afc705fa13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f99dfbdd63a70c4a5e6bbaa5f822b19cebadfd2e5cab1c36f6c3d24154c65d82fa556be593d56a0343c312dca55d806113ca2abab06000d34fd4d71d9d159a1
|
7
|
+
data.tar.gz: a4e09907f763c32e53abdd2f1a3ab75605a3dbbd50e20d1d60511439911cb678d4c9c0e1f29172583aacb5b0213a85eab37809c03c7a61931ef53aa9130337ee
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,14 @@ module Mercadolibre
|
|
7
7
|
|
8
8
|
Mercadolibre::Entity::Shipment.new(r[:body])
|
9
9
|
end
|
10
|
+
|
11
|
+
def update_shipment(shipment_id, attribs)
|
12
|
+
payload = attribs.to_json
|
13
|
+
|
14
|
+
headers = { content_type: :json, accept: :json }
|
15
|
+
|
16
|
+
put_request("/shipments/#{shipment_id}?access_token=#{@access_token}", payload, headers)[:body]
|
17
|
+
end
|
10
18
|
end
|
11
19
|
end
|
12
20
|
end
|
data/lib/mercadolibre/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mercadolibre
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matias Hick
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|