access 2.0.54 → 2.0.55

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
2
  SHA1:
3
- metadata.gz: f103f34997586f364b06742c1ca1a45dec1c4495
4
- data.tar.gz: fc3398d13bef4073364a725aaf1472705fec6932
3
+ metadata.gz: 07e6ed089ead044c8c3dfa63eea7ec6cf997544a
4
+ data.tar.gz: bbe5539862490367823110b9226223fb1a5d3a15
5
5
  SHA512:
6
- metadata.gz: 3c761563fad79ceeb68fdf97c7702fc0e97b087b825f9034c0871756c49cae1fd70bb766e43c744b6a18bad94bef1d0d46efe52e23ac36124c268fc8e8084ca9
7
- data.tar.gz: 2b2454d09e5a08fd986c9f4969274b67a6a5c1d1fff9120c7e23d95ba6ff8fef972663ea32e5ecbca08d5b72033dd09f724ae9ed1c6ef567a31a63f6ad371094
6
+ metadata.gz: 0d3906bf1b1e534908e90cce560daf7974e85cc34e2c857470209504c28ba3edeea2187552028bc0bdc232e6c818836e8a86ccf0d9a25a977e0ea5c41399da7f
7
+ data.tar.gz: 1c2133f6cab3235380039dcf0421dfe440f7aa1c2b3bd4a7284d9fab0b3898c80eba8bb1cc875fcedc1f6e8b9fbf3514247d527aab53877db580b6c594835822
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- access (2.0.54)
4
+ access (2.0.55)
5
5
  hashie (~> 3.3.1)
6
6
  httparty (~> 0.13.3)
7
7
 
@@ -17,14 +17,10 @@ module Access
17
17
  Access::Api.new.search_product_groups options
18
18
  end
19
19
 
20
- # def location
21
- # @offer_store.physical_location
22
- # end
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
@@ -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
 
@@ -1,4 +1,4 @@
1
1
  module Access
2
- VERSION = "2.0.54"
2
+ VERSION = "2.0.55"
3
3
  end
4
4
 
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.54
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: 2016-10-24 00:00:00.000000000 Z
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.6
408
+ rubygems_version: 2.4.8
409
409
  signing_key:
410
410
  specification_version: 4
411
411
  summary: Ruby wrapper for Access API