promoqui-api-sdk 1.7.7 → 1.7.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pqsdk/leaflet.rb +1 -1
- data/lib/pqsdk/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: 638fdc2be98d0411476a08802b627045a60c2c44
|
4
|
+
data.tar.gz: f9341a4fc60bda9ad35a7eae5a984295e491975c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7805c97785f4a492c2b502a0a3e8aede670739d9c4bd2e7a7ba53043484edc4095ef700a52fc3944e6c9a0b5220698388ff9c8e65429463d9032000c9e1e3fc8
|
7
|
+
data.tar.gz: fdaf2e1367906ffe34730f148f4afdc500b5ad0a5e2b698152ca7a792dad7bc1bd6213ac0a9c23ae916a84ea7dbea53fe931dd8ed1d4c470f6101a2adf039647
|
data/lib/pqsdk/leaflet.rb
CHANGED
@@ -50,7 +50,7 @@ module PQSDK
|
|
50
50
|
fields['image_urls'] = image_urls.try(:to_json) || []
|
51
51
|
fields['store_ids'] = store_ids.try(:to_json) || []
|
52
52
|
|
53
|
-
res = RestLayer.send(method, endpoint, fields, {'Authorization' => "Bearer #{Token.access_token}"})
|
53
|
+
res = RestLayer.send(method, endpoint, fields, {'Authorization' => "Bearer #{Token.access_token}", 'Content-Type' => 'application/json'})
|
54
54
|
|
55
55
|
if res[0] != expected_status
|
56
56
|
raise Exception.new("Unexpected HTTP status code #{res[0]}")
|
data/lib/pqsdk/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: promoqui-api-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Francesco Boffa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|