access 2.0.54 → 2.0.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/access/product_group.rb +4 -8
- data/lib/access/response.rb +2 -1
- data/lib/access/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 07e6ed089ead044c8c3dfa63eea7ec6cf997544a
|
|
4
|
+
data.tar.gz: bbe5539862490367823110b9226223fb1a5d3a15
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0d3906bf1b1e534908e90cce560daf7974e85cc34e2c857470209504c28ba3edeea2187552028bc0bdc232e6c818836e8a86ccf0d9a25a977e0ea5c41399da7f
|
|
7
|
+
data.tar.gz: 1c2133f6cab3235380039dcf0421dfe440f7aa1c2b3bd4a7284d9fab0b3898c80eba8bb1cc875fcedc1f6e8b9fbf3514247d527aab53877db580b6c594835822
|
data/Gemfile.lock
CHANGED
data/lib/access/product_group.rb
CHANGED
|
@@ -17,14 +17,10 @@ module Access
|
|
|
17
17
|
Access::Api.new.search_product_groups options
|
|
18
18
|
end
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
# def store
|
|
25
|
-
# @offer_store
|
|
26
|
-
# end
|
|
20
|
+
def self.process_batch(chunk)
|
|
21
|
+
chunk.map { |product_group| new(product_group) }
|
|
22
|
+
end
|
|
27
23
|
|
|
28
24
|
|
|
29
25
|
end
|
|
30
|
-
end
|
|
26
|
+
end
|
data/lib/access/response.rb
CHANGED
|
@@ -4,7 +4,7 @@ module Access
|
|
|
4
4
|
#basics
|
|
5
5
|
attr_reader :info, :links, :message, :status, :success, :error, :response_status, :dev_node, :internal_details, :response
|
|
6
6
|
#resources
|
|
7
|
-
attr_reader :offers, :stores, :locations, :categories, :suggestions, :oauth_applications, :access_tokens, :oauth_tokens, :oauth_token, :verify, :reports, :members, :filters, :oauth_access_token, :users, :offer_redemptions, :favorites, :campaigns, :channels, :spots, :programs, :devices
|
|
7
|
+
attr_reader :offers, :stores, :locations, :categories, :suggestions, :oauth_applications, :access_tokens, :oauth_tokens, :oauth_token, :verify, :reports, :members, :filters, :oauth_access_token, :users, :offer_redemptions, :favorites, :campaigns, :channels, :spots, :programs, :devices, :product_groups
|
|
8
8
|
#aggregations
|
|
9
9
|
attr_reader :offer_count_in_categories, :offer_count_by_redemption_method, :offer_count_by_facet, :custom_aggregation
|
|
10
10
|
#redemptions
|
|
@@ -64,6 +64,7 @@ module Access
|
|
|
64
64
|
|
|
65
65
|
class ProductGroupResponse < Response
|
|
66
66
|
def process_data
|
|
67
|
+
|
|
67
68
|
end
|
|
68
69
|
end
|
|
69
70
|
|
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.55
|
|
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:
|
|
13
|
+
date: 2017-01-13 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: bundler
|
|
@@ -405,7 +405,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
405
405
|
version: '0'
|
|
406
406
|
requirements: []
|
|
407
407
|
rubyforge_project:
|
|
408
|
-
rubygems_version: 2.4.
|
|
408
|
+
rubygems_version: 2.4.8
|
|
409
409
|
signing_key:
|
|
410
410
|
specification_version: 4
|
|
411
411
|
summary: Ruby wrapper for Access API
|