promoqui-api-sdk 2.1.6 → 2.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/pqsdk/city.rb +1 -1
- data/lib/pqsdk/offer.rb +2 -2
- data/lib/pqsdk/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ecd4bf4c9c513482141c184f5a3cec6cb4f4b20d7b1f3e7f3fced892140a06e3
|
4
|
+
data.tar.gz: 2ddff85ea3bc56e82160fd1ea7b9fb7c753f579b753656999426a3d4fb532072
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f88a3562a9085c89a995b85d03434e663a1bb326b1be5619aeeeb81d0e26b3b110c5b83270ae407c7b727b9cf8602379afc8eb658826dbc53dfdeee32ac6ebab
|
7
|
+
data.tar.gz: 93ed75c43675c85f98c19f2b10f84e3a0537e4bbb3888f83de642dae19e0c75cf77bdb1913ee9d154c10f5ec899e5b4878d9e18c60f4cc91729f0fcb2463b537
|
data/lib/pqsdk/city.rb
CHANGED
@@ -6,7 +6,7 @@ module PQSDK
|
|
6
6
|
class City < RemoteObject
|
7
7
|
@endpoint = 'v1/cities'
|
8
8
|
|
9
|
-
attr_accessor :id, :name, :inhabitants, :latitude, :longitude, :state, :country, :county, :is_county
|
9
|
+
attr_accessor :id, :name, :inhabitants, :latitude, :longitude, :state, :country, :county, :is_county, :zipcode
|
10
10
|
|
11
11
|
validates :name, presence: true
|
12
12
|
|
data/lib/pqsdk/offer.rb
CHANGED
@@ -7,7 +7,7 @@ module PQSDK
|
|
7
7
|
@endpoint = 'v1/offers'
|
8
8
|
|
9
9
|
attr_accessor :id, :title, :description, :price, :original_price, :discount,
|
10
|
-
:start_date, :end_date, :brand, :image, :store_ids, :national,
|
10
|
+
:start_date, :end_date, :expiration_date, :brand, :image, :store_ids, :national,
|
11
11
|
:partner_link, :go_to_partner_link, :btn_other_offers_visible, :btn_partner_link_text,
|
12
12
|
:btn_partner_link_visible, :btn_print_visible, :btn_stores_visible,
|
13
13
|
:btn_online_offers_visible
|
@@ -18,7 +18,7 @@ module PQSDK
|
|
18
18
|
def attributes
|
19
19
|
{
|
20
20
|
'title' => nil, 'description' => nil, 'price' => nil, 'original_price' => nil,
|
21
|
-
'discount' => nil, 'start_date' => nil, 'end_date' => nil, 'brand' => nil,
|
21
|
+
'discount' => nil, 'start_date' => nil, 'end_date' => nil, 'expiration_date' => nil, 'brand' => nil,
|
22
22
|
'image' => nil, 'store_ids' => nil, 'national' => nil, 'partner_link' => nil,
|
23
23
|
'go_to_partner_link' => nil, 'btn_other_offers_visible' => nil,
|
24
24
|
'btn_partner_link_text' => nil, 'btn_partner_link_visible' => nil,
|
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.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Francesco Boffa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-04-20 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.
|
238
|
+
rubygems_version: 2.7.3
|
239
239
|
signing_key:
|
240
240
|
specification_version: 4
|
241
241
|
summary: A wrapper around PromoQui HTTP Crawler API
|