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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ce270a95c42e5445ff87e9d0efe52218ccf1df8c
4
- data.tar.gz: d3842f9ceb30f554cda9438f52c36c1c86162125
3
+ metadata.gz: 638fdc2be98d0411476a08802b627045a60c2c44
4
+ data.tar.gz: f9341a4fc60bda9ad35a7eae5a984295e491975c
5
5
  SHA512:
6
- metadata.gz: 07201749320f0add199368b6416945d60e7b9b1ccbf9c72664f32151f64e8f0b6d54a3b5bf330e6872f40202bc5c0d5caaf430cd3741aec24c255fe8fb8dbb9e
7
- data.tar.gz: ede1ba8d8b89f63284451e740a2c228f8d19489a07267478e68a6bed4376c289a2b7c1056a586d86439e7dfd5850009ef11a09ed68d132721f7ee931568034ee
6
+ metadata.gz: 7805c97785f4a492c2b502a0a3e8aede670739d9c4bd2e7a7ba53043484edc4095ef700a52fc3944e6c9a0b5220698388ff9c8e65429463d9032000c9e1e3fc8
7
+ data.tar.gz: fdaf2e1367906ffe34730f148f4afdc500b5ad0a5e2b698152ca7a792dad7bc1bd6213ac0a9c23ae916a84ea7dbea53fe931dd8ed1d4c470f6101a2adf039647
@@ -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]}")
@@ -1,3 +1,3 @@
1
1
  module PQSDK
2
- VERSION = '1.7.7'
2
+ VERSION = '1.7.8'
3
3
  end
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.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 00:00:00.000000000 Z
11
+ date: 2015-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json