access 2.0.52 → 2.0.53
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -4
- data/lib/access.rb +1 -0
- data/lib/access/api.rb +6 -0
- data/lib/access/response.rb +7 -1
- data/lib/access/shopping_cart.rb +10 -0
- data/lib/access/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0d4870ee288eda3b8d17d95c8e5d376a6309ece
|
4
|
+
data.tar.gz: ae177e4336c9269fca5b32b12df4b4960738484e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d61a8c4057a81f37099c4bf2447c2933683267d293af370164e5949a6dac49ad8052fc4477fa9d986883c89cc3737f1cb15cc0b4b851cb5cce2126bd86befab1
|
7
|
+
data.tar.gz: 05f10b77777e1c7a7bb33d9ecb443fd9a5cbf293eb9c03be2143c955816391c992335a3d1e18b05cce2a0aea6421091cee29125f0224ae6b4617f17b8e401f04
|
data/Gemfile.lock
CHANGED
data/lib/access.rb
CHANGED
data/lib/access/api.rb
CHANGED
data/lib/access/response.rb
CHANGED
@@ -17,6 +17,8 @@ module Access
|
|
17
17
|
attr_reader :spot_name, :spot_text, :spot_ranking, :spot_redirect_url, :spot_redirect_type, :spot_image_url, :offer_resource
|
18
18
|
#channel show page
|
19
19
|
attr_reader :channel_name, :channel_type, :channel_identifier, :channel_description
|
20
|
+
#shopping cart count
|
21
|
+
attr_reader :total_cart_count
|
20
22
|
|
21
23
|
def initialize(response)
|
22
24
|
@response = response # Setting this temporarily so i can have a working member reg call, since it doesn't follow the resource [] best practices
|
@@ -60,7 +62,6 @@ module Access
|
|
60
62
|
|
61
63
|
class ProductGroupResponse < Response
|
62
64
|
def process_data
|
63
|
-
|
64
65
|
end
|
65
66
|
end
|
66
67
|
|
@@ -73,6 +74,11 @@ module Access
|
|
73
74
|
end
|
74
75
|
end
|
75
76
|
|
77
|
+
class ShoppingCartResponse < Response
|
78
|
+
def process_data
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
76
82
|
class LocationResponse < Response
|
77
83
|
def process_data
|
78
84
|
(@locations = []; create_error) if @message
|
data/lib/access/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: access
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.53
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Eggett
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-
|
13
|
+
date: 2016-10-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
@@ -261,6 +261,7 @@ files:
|
|
261
261
|
- lib/access/report.rb
|
262
262
|
- lib/access/request.rb
|
263
263
|
- lib/access/response.rb
|
264
|
+
- lib/access/shopping_cart.rb
|
264
265
|
- lib/access/spot.rb
|
265
266
|
- lib/access/store.rb
|
266
267
|
- lib/access/token.rb
|
@@ -403,7 +404,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
403
404
|
version: '0'
|
404
405
|
requirements: []
|
405
406
|
rubyforge_project:
|
406
|
-
rubygems_version: 2.4.
|
407
|
+
rubygems_version: 2.4.5
|
407
408
|
signing_key:
|
408
409
|
specification_version: 4
|
409
410
|
summary: Ruby wrapper for Access API
|