promoqui-api-sdk 2.0.1 → 2.0.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/offer.rb +25 -5
- 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: 351368818ec7770a756208b4533686c7e4df1b9f
|
4
|
+
data.tar.gz: 4a7dd6d3c49797787902d675403142d328c1b9a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3034882eb36ed6604106b2ea9ed941701a24909793d23200abffd87de8cf764f49b6a27a2543f007926e4d95a98d32a19e8b27357b0506efb5c4581753087314
|
7
|
+
data.tar.gz: a2c17b1fc188bb2187e5b546fe3cd2f395eb2d7ea0b516dd5532bec0f06d2bc520e78732346deb4cc09fdd6710703ae3a54a3123ea74c612d0001a42b70b3f80
|
data/lib/pqsdk/offer.rb
CHANGED
@@ -30,23 +30,43 @@ module PQSDK
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def btn_other_offers_visible
|
33
|
-
@btn_other_offers_visible
|
33
|
+
if @btn_other_offers_visible.nil?
|
34
|
+
@btn_other_offers_visible = true
|
35
|
+
else
|
36
|
+
@btn_other_offers_visible
|
37
|
+
end
|
34
38
|
end
|
35
39
|
|
36
40
|
def btn_partner_link_visible
|
37
|
-
@btn_partner_link_visible
|
41
|
+
if @btn_partner_link_visible.nil?
|
42
|
+
@btn_partner_link_visible = true
|
43
|
+
else
|
44
|
+
@btn_partner_link_visible
|
45
|
+
end
|
38
46
|
end
|
39
47
|
|
40
48
|
def btn_print_visible
|
41
|
-
@btn_print_visible
|
49
|
+
if @btn_print_visible.nil?
|
50
|
+
@btn_print_visible = true
|
51
|
+
else
|
52
|
+
@btn_print_visible
|
53
|
+
end
|
42
54
|
end
|
43
55
|
|
44
56
|
def btn_stores_visible
|
45
|
-
@btn_stores_visible
|
57
|
+
if @btn_stores_visible.nil?
|
58
|
+
@btn_stores_visible = true
|
59
|
+
else
|
60
|
+
@btn_stores_visible
|
61
|
+
end
|
46
62
|
end
|
47
63
|
|
48
64
|
def btn_online_offers_visible
|
49
|
-
@btn_online_offers_visible
|
65
|
+
if @btn_online_offers_visible.nil?
|
66
|
+
@btn_online_offers_visible = true
|
67
|
+
else
|
68
|
+
@btn_online_offers_visible
|
69
|
+
end
|
50
70
|
end
|
51
71
|
end
|
52
72
|
end
|
data/lib/pqsdk/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: promoqui-api-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Francesco Boffa
|
@@ -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.4.
|
238
|
+
rubygems_version: 2.4.5.1
|
239
239
|
signing_key:
|
240
240
|
specification_version: 4
|
241
241
|
summary: A wrapper around PromoQui HTTP Crawler API
|