mercadolibre 0.9.2 → 0.9.3
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/items_and_searches.rb +3 -3
- data/lib/mercadolibre/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93e1a190817125ce47f4a6ab1faffe5ae9a89270
|
4
|
+
data.tar.gz: 064c46e8f465c3da99f8c5fde466f4b299c4ca79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af92f015f9c44ca9e646ebdf43e9da75c3d9d935bcf34f62bf7478912390f1514f4b71e7e3d85ef23fce31298b54957b1ed7f42b6fdfe5e6c9617496119ee781
|
7
|
+
data.tar.gz: 1d0b255074e7037b01616da165fc70c3658ac70a5b801b0641664adcd68106616038c3c65244b21286a0005c6947fc13fb0ce4581d043b0719dada432fa5fe55
|
data/CHANGELOG.md
CHANGED
@@ -220,7 +220,7 @@ module Mercadolibre
|
|
220
220
|
|
221
221
|
headers = { content_type: :json, accept: :json }
|
222
222
|
|
223
|
-
put_request("/items/#{item_id}?access_token=#{@access_token}", payload, headers)
|
223
|
+
put_request("/items/#{item_id}?access_token=#{@access_token}", payload, headers)[:status_code] == 200
|
224
224
|
|
225
225
|
end
|
226
226
|
|
@@ -229,7 +229,7 @@ module Mercadolibre
|
|
229
229
|
|
230
230
|
headers = { content_type: :json, accept: :json }
|
231
231
|
|
232
|
-
put_request("/items/#{item_id}?access_token=#{@access_token}", payload, headers)
|
232
|
+
put_request("/items/#{item_id}?access_token=#{@access_token}", payload, headers)[:status_code] == 200
|
233
233
|
end
|
234
234
|
|
235
235
|
def update_item_identifiers(item_id, attrs)
|
@@ -237,7 +237,7 @@ module Mercadolibre
|
|
237
237
|
|
238
238
|
headers = { content_type: :json }
|
239
239
|
|
240
|
-
put_request("/items/#{item_id}/product_identifiers?access_token=#{@access_token}", payload, headers)
|
240
|
+
put_request("/items/#{item_id}/product_identifiers?access_token=#{@access_token}", payload, headers)[:status_code] == 200
|
241
241
|
end
|
242
242
|
|
243
243
|
def get_item_identifiers(item_id)
|
data/lib/mercadolibre/version.rb
CHANGED