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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: f31e5c02fb90796803ac708283b1d58cc839f3a4
4
- data.tar.gz: c3b614c24b3abce2c238a4cdf98679a2d2fee67e
2
+ SHA256:
3
+ metadata.gz: ecd4bf4c9c513482141c184f5a3cec6cb4f4b20d7b1f3e7f3fced892140a06e3
4
+ data.tar.gz: 2ddff85ea3bc56e82160fd1ea7b9fb7c753f579b753656999426a3d4fb532072
5
5
  SHA512:
6
- metadata.gz: 6a0f1779576a44093f014ff8e2192dea15d6d4ebf73e84e4ac33e962242dce1d675dcf1a5ba40777227aa82bb905620e6f421cb088b3b29a12bd1421e599390f
7
- data.tar.gz: d761c5dc7509afadb9ec74bce5a684bfd01de306cf153c962b831aad901c1ab6fd44404b24836c9442fe47846e6df877edfd361573ecdd1601fba6082121766f
6
+ metadata.gz: f88a3562a9085c89a995b85d03434e663a1bb326b1be5619aeeeb81d0e26b3b110c5b83270ae407c7b727b9cf8602379afc8eb658826dbc53dfdeee32ac6ebab
7
+ data.tar.gz: 93ed75c43675c85f98c19f2b10f84e3a0537e4bbb3888f83de642dae19e0c75cf77bdb1913ee9d154c10f5ec899e5b4878d9e18c60f4cc91729f0fcb2463b537
@@ -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
 
@@ -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,
@@ -1,3 +1,3 @@
1
1
  module PQSDK
2
- VERSION = '2.1.6'.freeze
2
+ VERSION = '2.1.7'.freeze
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: 2.1.6
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: 2017-04-13 00:00:00.000000000 Z
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.6.10
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