promoqui-api-sdk 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pqsdk/store.rb +2 -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: edd6b8021325d077e6f9d40f4cbc9a43e8c12574
|
4
|
+
data.tar.gz: 13c9d891dcd3bf91fb594a74852338cfb758a00d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bb70b4377514d84e17459bbfca7bc8983b9a6118cf7815945ebcbd79c3bd0504d7735fae80e8ee7537e3a8eaee45eec0ce324c46db6535e6349b86156d4d010
|
7
|
+
data.tar.gz: 1f24ab29a5db42cd7bdb328cc32e4132dfcf35aef2bcc8c65505c18d4b7225426c0ce990a4b95d58734958309cc957868b48bb5cce7c413dc63ea51c53badc8b
|
data/lib/pqsdk/store.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
module PQSDK
|
2
2
|
class Store
|
3
|
-
attr_accessor :id, :name, :address, :zipcode, :latitude, :longitude, :phone, :city_id, :origin, :opening_hours, :leaflet_ids
|
3
|
+
attr_accessor :id, :name, :address, :zipcode, :latitude, :longitude, :phone, :city_id, :origin, :opening_hours, :opening_hours_text, :leaflet_ids
|
4
4
|
|
5
5
|
def initialize
|
6
6
|
self.leaflet_ids = []
|
@@ -50,6 +50,7 @@ module PQSDK
|
|
50
50
|
|
51
51
|
fields['phone'] = phone unless phone.nil?
|
52
52
|
fields['opening_hours'] = opening_hours.to_json unless opening_hours.to_a.empty?
|
53
|
+
fields['opening_hours_text'] = opening_hours_text unless opening_hours_text.nil?
|
53
54
|
|
54
55
|
res = RestLayer.send(method, url, fields, { 'Authorization' => "Bearer #{Token.access_token}" })
|
55
56
|
|
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.2.
|
4
|
+
version: 1.2.2
|
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-02-
|
11
|
+
date: 2015-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|