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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9cb1c5a14e632e375a151b3923d4275c76d98a95
4
- data.tar.gz: ad6fb262eac1cdfdb222af4249759899d29dcf7c
3
+ metadata.gz: edd6b8021325d077e6f9d40f4cbc9a43e8c12574
4
+ data.tar.gz: 13c9d891dcd3bf91fb594a74852338cfb758a00d
5
5
  SHA512:
6
- metadata.gz: abb6e10d825896ebc1e4e24a94c866aeea0702bd382251989bbfbfcfd33fd8ac601c9e4d860095b309e06249992ea5f16df8f79ec43c6141f7a255eedd8bc548
7
- data.tar.gz: e33b77d749674a26ef1afc33fc45b505f63f081f4fa131a0dedf0b4570b0ae90f0721adcb2859e82e1f37f132bf1b79d05e7d8e2470e47c42126cb064808d14b
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
@@ -1,3 +1,3 @@
1
1
  module PQSDK
2
- VERSION = '1.2.1'
2
+ VERSION = '1.2.2'
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.2.1
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-09 00:00:00.000000000 Z
11
+ date: 2015-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json