promoqui-api-sdk 2.1.7 → 2.1.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/store.rb +3 -2
- data/lib/pqsdk/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f156bba0941a7f82e74693549fdff9aa5136acebc33aa8cd88f523fb179b9db9
|
4
|
+
data.tar.gz: f022b3f731a830a1a3eb33997b2108215747f007941ced641569018b39cd8f7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ecd72d9e462e5c2e48e72a8b42f8c6d6fcab7931ac007b57e166d861592c626bfa4329be45b17eb72b19d2a59b07f5be9de487c2037d893346d9188bd97c129
|
7
|
+
data.tar.gz: 56a1f1f05f670f9a119a57481a4e37a7885f2221cac3362139b850a601f603cf87ba8e3c538832cb4176b04de0b351fda1a930bc37d6102b47ebdb6e40bc7800
|
data/lib/pqsdk/store.rb
CHANGED
@@ -7,7 +7,7 @@ module PQSDK
|
|
7
7
|
@endpoint = 'v1/stores'
|
8
8
|
|
9
9
|
attr_accessor :id, :origin, :name, :address, :latitude, :longitude, :city,
|
10
|
-
:city_id, :zipcode, :phone, :opening_hours, :opening_hours_text, :region, :extra_infos
|
10
|
+
:city_id, :zipcode, :phone, :opening_hours, :opening_hours_text, :region, :extra_infos, :specific_distance
|
11
11
|
|
12
12
|
validates :origin, :name, :address, presence: true
|
13
13
|
validates :city_id, presence: true, if: proc { |s| s.city.nil? }
|
@@ -16,7 +16,8 @@ module PQSDK
|
|
16
16
|
{
|
17
17
|
'origin' => nil, 'name' => nil, 'address' => nil, 'latitude' => nil,
|
18
18
|
'longitude' => nil, 'city' => nil, 'city_id' => nil, 'zipcode' => nil,
|
19
|
-
'phone' => nil, 'opening_hours' => nil, 'opening_hours_text' => nil, 'region' => nil, 'extra_infos' => nil
|
19
|
+
'phone' => nil, 'opening_hours' => nil, 'opening_hours_text' => nil, 'region' => nil, 'extra_infos' => nil,
|
20
|
+
'specific_distance' => nil
|
20
21
|
}
|
21
22
|
end
|
22
23
|
|
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: 2.1.
|
4
|
+
version: 2.1.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: 2018-
|
11
|
+
date: 2018-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -235,7 +235,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
235
235
|
version: '0'
|
236
236
|
requirements: []
|
237
237
|
rubyforge_project:
|
238
|
-
rubygems_version: 2.7.
|
238
|
+
rubygems_version: 2.7.6
|
239
239
|
signing_key:
|
240
240
|
specification_version: 4
|
241
241
|
summary: A wrapper around PromoQui HTTP Crawler API
|