mastercard_audiences 0.0.3 → 0.0.4

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: 40fd2fab19aba6ecbe9f3d85487fac533cb0fd9b
4
- data.tar.gz: a773685341702da07c50daccc2f6dbad40ac4449
3
+ metadata.gz: 26747953afd73c416a24197a570e6f3bd3fadbc2
4
+ data.tar.gz: 4335dfe7ab4114a2877a38818fbfba0aa39d20e3
5
5
  SHA512:
6
- metadata.gz: f88346cd51957e341c4002c2d4c362bfe8c857d135e2cb502d44866c2811f72bf7791fd58e1663a85cf1d38430c55a9b134410165d5fbb217f3cbe7e36936d2e
7
- data.tar.gz: e7e3a603f4bb4bb7a6686fd9b7bcd96430627d6f52a0de0a556c22a3b537051e58ec833cbf3bba06cf139ee6951b6cd7bf4de4e7220d92c100ea5681b7429647
6
+ metadata.gz: c21efd9d02f474b3796579693d1ed51b3f12b6e6cc53ab71870e096af26e07c7699eeaedd07e5e5dd93dc554d6f2a329e6efa540648c93a3dc46e7b0e8aa2e33
7
+ data.tar.gz: d337b54137500e064bcb2376628a2118640c0a0c63139a9b529f61be674fe144900890c85743a62ccd5a07663bf355396552996603bc8993c3b3a86a1073b5a0
@@ -67,14 +67,14 @@ module MasterCard
67
67
  action = action.upcase
68
68
 
69
69
  if action == "QUERY"
70
- return ["page_offset","page_length","zip_range_start","zip_range_end","segment","decile_id_range_start","decile_id_range_end"]
70
+ return ["PageOffset","PageLength","ZipRangeStart","ZipRangeEnd","Segment","DecileIDRangeStart","DecileIDRangeEnd"]
71
71
  end
72
72
 
73
73
  raise StandardError.new("Invalid action supplied: #{action.to_s}")
74
74
  end
75
75
 
76
76
  def self.getApiVersion
77
- return "0.0.3"
77
+ return "0.0.4"
78
78
  end
79
79
 
80
80
 
@@ -91,7 +91,9 @@ module MasterCard
91
91
  #@param type criteria
92
92
  #@return AudiencesSegment object representing the response.
93
93
  #
94
- return self.queryObject(criteria)
94
+
95
+ obj = AudiencesSegment.new(criteria)
96
+ return self.queryObject(obj)
95
97
  end
96
98
 
97
99
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mastercard_audiences
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - MasterCard Worldwide
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-15 00:00:00.000000000 Z
11
+ date: 2016-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mastercard_api_core
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.0.1
19
+ version: 0.0.3
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 0.0.1
22
+ version: 0.0.3
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: 0.0.1
29
+ version: 0.0.3
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 0.0.1
32
+ version: 0.0.3
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: ci_reporter_minitest
35
35
  requirement: !ruby/object:Gem::Requirement