mastercard_mcon 1.0.1 → 1.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/mastercard/api/mcon/airport.rb +14 -14
- data/lib/mastercard/api/mcon/benefits.rb +12 -12
- data/lib/mastercard/api/mcon/insurance.rb +4 -4
- data/lib/mastercard/api/mcon/offers.rb +47 -56
- data/lib/mastercard/api/mcon/resourceconfig.rb +1 -1
- data/lib/mastercard/api/mcon/user.rb +11 -11
- data/lib/mastercard/api/mcon/wifi.rb +11 -14
- 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: 71c12cfc58692481aa066206cb3aea920c10ae94
|
4
|
+
data.tar.gz: 1a500928e045dab48d5fc1fb2a229c7f43c2b1f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abafebabb1f16350ff96aa8a16745dcc15d6d14e25042848e683bdb81c203a020a980119abc87aeee9585a1b014f8c54bc57a1a4e339e31161bd2cab020f06b2
|
7
|
+
data.tar.gz: ee1f376998cebceef687e11347dc6f0e80e0fbc32ec7df9bdbd941d8a8649929bac120647f8b38264719ae449f11e24d58b698f65ee7c1785f340c32119ce010
|
@@ -37,11 +37,11 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
43
|
-
'
|
44
|
-
'
|
40
|
+
'0ab2eca7-2aca-4302-a471-25cad70355d6' => OperationConfig.new("/loyalty/v1/airport/dmc", "query", ["x-client-correlation-id"], ["userId","panLastFourDigits"]),
|
41
|
+
'649961ce-cb01-4d23-85e4-45aabb03992a' => OperationConfig.new("/loyalty/v1/airport/history", "query", ["x-client-correlation-id"], ["userId","panLastFourDigits","transactionDateFrom","transactionDateTo"]),
|
42
|
+
'5bacd640-04b4-4f7f-a173-9dc09abe2445' => OperationConfig.new("/loyalty/v1/airport/lounges", "query", ["x-client-correlation-id"], ["userId","panLastFourDigits","searchText","preferredLanguage"]),
|
43
|
+
'e72cca8b-54a1-4491-a187-b0517fde7086' => OperationConfig.new("/loyalty/v1/airport/lounges/{loungeId}/detail", "query", ["x-client-correlation-id"], ["userId","panLastFourDigits","preferredLanguage"]),
|
44
|
+
'35009fad-d908-42db-89f8-fd234f2f35d6' => OperationConfig.new("/loyalty/v1/users/{userId}/airport", "query", ["x-client-correlation-id"], ["panLastFourDigits"]),
|
45
45
|
|
46
46
|
}
|
47
47
|
|
@@ -66,7 +66,7 @@ module MasterCard
|
|
66
66
|
|
67
67
|
|
68
68
|
|
69
|
-
def self.
|
69
|
+
def self.getDMC(criteria)
|
70
70
|
#
|
71
71
|
#Query objects of type Airport by id and optional criteria
|
72
72
|
#@param [Dict] criteria
|
@@ -74,7 +74,7 @@ module MasterCard
|
|
74
74
|
#@raise [APIException] an exception from the response status
|
75
75
|
#
|
76
76
|
|
77
|
-
return self.execute("
|
77
|
+
return self.execute("0ab2eca7-2aca-4302-a471-25cad70355d6",Airport.new(criteria))
|
78
78
|
end
|
79
79
|
|
80
80
|
|
@@ -83,7 +83,7 @@ module MasterCard
|
|
83
83
|
|
84
84
|
|
85
85
|
|
86
|
-
def self.
|
86
|
+
def self.getLoungeHistory(criteria)
|
87
87
|
#
|
88
88
|
#Query objects of type Airport by id and optional criteria
|
89
89
|
#@param [Dict] criteria
|
@@ -91,7 +91,7 @@ module MasterCard
|
|
91
91
|
#@raise [APIException] an exception from the response status
|
92
92
|
#
|
93
93
|
|
94
|
-
return self.execute("
|
94
|
+
return self.execute("649961ce-cb01-4d23-85e4-45aabb03992a",Airport.new(criteria))
|
95
95
|
end
|
96
96
|
|
97
97
|
|
@@ -100,7 +100,7 @@ module MasterCard
|
|
100
100
|
|
101
101
|
|
102
102
|
|
103
|
-
def self.
|
103
|
+
def self.getLounges(criteria)
|
104
104
|
#
|
105
105
|
#Query objects of type Airport by id and optional criteria
|
106
106
|
#@param [Dict] criteria
|
@@ -108,7 +108,7 @@ module MasterCard
|
|
108
108
|
#@raise [APIException] an exception from the response status
|
109
109
|
#
|
110
110
|
|
111
|
-
return self.execute("
|
111
|
+
return self.execute("5bacd640-04b4-4f7f-a173-9dc09abe2445",Airport.new(criteria))
|
112
112
|
end
|
113
113
|
|
114
114
|
|
@@ -117,7 +117,7 @@ module MasterCard
|
|
117
117
|
|
118
118
|
|
119
119
|
|
120
|
-
def self.
|
120
|
+
def self.getLoungeDetail(criteria)
|
121
121
|
#
|
122
122
|
#Query objects of type Airport by id and optional criteria
|
123
123
|
#@param [Dict] criteria
|
@@ -125,7 +125,7 @@ module MasterCard
|
|
125
125
|
#@raise [APIException] an exception from the response status
|
126
126
|
#
|
127
127
|
|
128
|
-
return self.execute("
|
128
|
+
return self.execute("e72cca8b-54a1-4491-a187-b0517fde7086",Airport.new(criteria))
|
129
129
|
end
|
130
130
|
|
131
131
|
|
@@ -142,7 +142,7 @@ module MasterCard
|
|
142
142
|
#@raise [APIException] an exception from the response status
|
143
143
|
#
|
144
144
|
|
145
|
-
return self.execute("
|
145
|
+
return self.execute("35009fad-d908-42db-89f8-fd234f2f35d6",Airport.new(criteria))
|
146
146
|
end
|
147
147
|
|
148
148
|
|
@@ -37,12 +37,12 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
43
|
-
'
|
44
|
-
'
|
45
|
-
'
|
40
|
+
'e696812d-aba2-4de1-bde9-b3130454fb6e' => OperationConfig.new("/loyalty/v1/benefits/assigned", "query", ["x-client-correlation-id"], ["ica","userId","panLastFourDigits","channel","preferredLanguage"]),
|
41
|
+
'3cd4d420-ed39-42ce-b081-22e55ae2a3eb' => OperationConfig.new("/loyalty/v1/benefits/{benefitId}/detail", "query", ["x-client-correlation-id"], ["ica","channel","preferredLanguage"]),
|
42
|
+
'e6e93030-1745-4ce0-b4cc-eb5e242f635d' => OperationConfig.new("/loyalty/v1/benefits", "query", ["x-client-correlation-id"], ["ica","cardProductType","channel","preferredLanguage"]),
|
43
|
+
'4068afbe-8eaa-467a-b094-8b3b33502bee' => OperationConfig.new("/loyalty/v1/benefits", "create", ["x-client-correlation-id"], []),
|
44
|
+
'153f9592-da8a-4de1-8641-e7f840ea4bbc' => OperationConfig.new("/loyalty/v1/benefits/programterms", "query", ["x-client-correlation-id"], ["ica","preferredLanguage"]),
|
45
|
+
'd5b2a3d9-5db8-49d8-991f-46386a846a55' => OperationConfig.new("/loyalty/v1/users/{userId}/benefits", "query", ["x-client-correlation-id"], ["panLastFourDigits"]),
|
46
46
|
|
47
47
|
}
|
48
48
|
|
@@ -75,7 +75,7 @@ module MasterCard
|
|
75
75
|
#@raise [APIException] an exception from the response status
|
76
76
|
#
|
77
77
|
|
78
|
-
return self.execute("
|
78
|
+
return self.execute("e696812d-aba2-4de1-bde9-b3130454fb6e",Benefits.new(criteria))
|
79
79
|
end
|
80
80
|
|
81
81
|
|
@@ -92,7 +92,7 @@ module MasterCard
|
|
92
92
|
#@raise [APIException] an exception from the response status
|
93
93
|
#
|
94
94
|
|
95
|
-
return self.execute("
|
95
|
+
return self.execute("3cd4d420-ed39-42ce-b081-22e55ae2a3eb",Benefits.new(criteria))
|
96
96
|
end
|
97
97
|
|
98
98
|
|
@@ -109,7 +109,7 @@ module MasterCard
|
|
109
109
|
#@raise [APIException] an exception from the response status
|
110
110
|
#
|
111
111
|
|
112
|
-
return self.execute("
|
112
|
+
return self.execute("e6e93030-1745-4ce0-b4cc-eb5e242f635d",Benefits.new(criteria))
|
113
113
|
end
|
114
114
|
|
115
115
|
|
@@ -120,7 +120,7 @@ module MasterCard
|
|
120
120
|
#@param Dict mapObj, containing the required parameters to create a new object
|
121
121
|
#@return [Benefits] of the response of created instance.
|
122
122
|
#@raise [APIException] an exception from the response status
|
123
|
-
return self.execute("
|
123
|
+
return self.execute("4068afbe-8eaa-467a-b094-8b3b33502bee", Benefits.new(mapObj))
|
124
124
|
end
|
125
125
|
|
126
126
|
|
@@ -142,7 +142,7 @@ module MasterCard
|
|
142
142
|
#@raise [APIException] an exception from the response status
|
143
143
|
#
|
144
144
|
|
145
|
-
return self.execute("
|
145
|
+
return self.execute("153f9592-da8a-4de1-8641-e7f840ea4bbc",Benefits.new(criteria))
|
146
146
|
end
|
147
147
|
|
148
148
|
|
@@ -159,7 +159,7 @@ module MasterCard
|
|
159
159
|
#@raise [APIException] an exception from the response status
|
160
160
|
#
|
161
161
|
|
162
|
-
return self.execute("
|
162
|
+
return self.execute("d5b2a3d9-5db8-49d8-991f-46386a846a55",Benefits.new(criteria))
|
163
163
|
end
|
164
164
|
|
165
165
|
|
@@ -37,8 +37,8 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
40
|
+
'66f3f38a-a9e6-41a0-b226-9f8798b2b703' => OperationConfig.new("/loyalty/v1/insurance/claim", "create", ["x-client-correlation-id"], []),
|
41
|
+
'1662d0ff-4d26-43ab-b0b6-27dc15081ec6' => OperationConfig.new("/loyalty/v1/insurance/tokenizeUserData", "create", ["x-client-correlation-id"], []),
|
42
42
|
|
43
43
|
}
|
44
44
|
|
@@ -65,7 +65,7 @@ module MasterCard
|
|
65
65
|
#@param Dict mapObj, containing the required parameters to create a new object
|
66
66
|
#@return [Insurance] of the response of created instance.
|
67
67
|
#@raise [APIException] an exception from the response status
|
68
|
-
return self.execute("
|
68
|
+
return self.execute("66f3f38a-a9e6-41a0-b226-9f8798b2b703", Insurance.new(mapObj))
|
69
69
|
end
|
70
70
|
|
71
71
|
|
@@ -81,7 +81,7 @@ module MasterCard
|
|
81
81
|
#@param Dict mapObj, containing the required parameters to create a new object
|
82
82
|
#@return [Insurance] of the response of created instance.
|
83
83
|
#@raise [APIException] an exception from the response status
|
84
|
-
return self.execute("
|
84
|
+
return self.execute("1662d0ff-4d26-43ab-b0b6-27dc15081ec6", Insurance.new(mapObj))
|
85
85
|
end
|
86
86
|
|
87
87
|
|
@@ -37,19 +37,19 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
43
|
-
'
|
44
|
-
'
|
45
|
-
'
|
46
|
-
'
|
47
|
-
'
|
48
|
-
'
|
49
|
-
'
|
50
|
-
'
|
51
|
-
'
|
52
|
-
'
|
40
|
+
'891eb3fc-32f8-4a9e-af20-60620acdd5ab' => OperationConfig.new("/loyalty/v1/offers", "query", ["x-client-correlation-id"], ["userId","preferredLanguage","sort","category","featured","favorite","partner","latitude","longitude","searchRadius"]),
|
41
|
+
'543c230a-5f71-4c0a-837d-140439c3ca82' => OperationConfig.new("/loyalty/v1/offers/{offerId}/activate", "create", ["x-client-correlation-id"], []),
|
42
|
+
'34bf6ba1-6d83-4152-a497-41f28f7a4863' => OperationConfig.new("/loyalty/v1/offers/{offerId}/detail", "query", ["x-client-correlation-id"], ["userId","preferredLanguage"]),
|
43
|
+
'a875f3d8-0894-4597-8e65-2e1e33c00f61' => OperationConfig.new("/loyalty/v1/offers/{offerId}/favorite", "create", ["x-client-correlation-id"], []),
|
44
|
+
'3a237122-9c7b-417f-b0c1-f3ac803b5507' => OperationConfig.new("/loyalty/v1/offers/{offerId}/redeem", "create", ["x-client-correlation-id"], []),
|
45
|
+
'1646df12-f8c3-406c-a9a5-532de4b6f495' => OperationConfig.new("/loyalty/v1/offers/{offerId}/unfavorite", "create", ["x-client-correlation-id"], []),
|
46
|
+
'f8bf2153-0d21-4a5d-a6c3-6bdcfe5e1122' => OperationConfig.new("/loyalty/v1/offers/promo", "create", ["x-client-correlation-id"], []),
|
47
|
+
'9151e342-2c08-46fe-ac90-77498b436bb5' => OperationConfig.new("/loyalty/v1/offers/redeemed", "query", ["x-client-correlation-id"], ["userId","preferredLanguage"]),
|
48
|
+
'0bd2dfe2-3bc1-40a4-8a69-c5cf04aa63d5' => OperationConfig.new("/loyalty/v1/points/expiring", "query", ["x-client-correlation-id"], ["userId"]),
|
49
|
+
'749e8383-1da9-4687-9c90-d772ca0ad6fa' => OperationConfig.new("/loyalty/v1/points", "query", ["x-client-correlation-id"], ["userId"]),
|
50
|
+
'f96af6ac-3e2d-404e-81f2-2185288ffe6c' => OperationConfig.new("/loyalty/v1/users/{userId}/offers", "query", ["x-client-correlation-id"], []),
|
51
|
+
'59f49ef9-2ce9-4b5f-8253-041542c2c844' => OperationConfig.new("/loyalty/v1/vouchers", "query", ["x-client-correlation-id"], ["userId"]),
|
52
|
+
'e23c7df9-4187-48bb-b6b9-896897601cf7' => OperationConfig.new("/loyalty/v1/vouchers/{voucherId}/detail", "query", ["x-client-correlation-id"], ["userId"]),
|
53
53
|
|
54
54
|
}
|
55
55
|
|
@@ -71,24 +71,21 @@ module MasterCard
|
|
71
71
|
|
72
72
|
|
73
73
|
|
74
|
-
|
75
|
-
|
76
|
-
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
def self.getOffers(criteria)
|
77
78
|
#
|
79
|
+
#Query objects of type Offers by id and optional criteria
|
78
80
|
#@param [Dict] criteria
|
79
|
-
#@return
|
81
|
+
#@return [Offers] object representing the response.
|
80
82
|
#@raise [APIException] an exception from the response status
|
83
|
+
#
|
81
84
|
|
82
|
-
|
83
|
-
return self.execute("cba2c5c8-3998-41bf-a381-871fbc6aae87",Offers.new)
|
84
|
-
else
|
85
|
-
return self.execute("cba2c5c8-3998-41bf-a381-871fbc6aae87",Offers.new(criteria))
|
86
|
-
end
|
85
|
+
return self.execute("891eb3fc-32f8-4a9e-af20-60620acdd5ab",Offers.new(criteria))
|
87
86
|
end
|
88
87
|
|
89
88
|
|
90
|
-
|
91
|
-
|
92
89
|
def self.activateOffer(mapObj)
|
93
90
|
#
|
94
91
|
#Creates object of type Offers
|
@@ -96,7 +93,7 @@ module MasterCard
|
|
96
93
|
#@param Dict mapObj, containing the required parameters to create a new object
|
97
94
|
#@return [Offers] of the response of created instance.
|
98
95
|
#@raise [APIException] an exception from the response status
|
99
|
-
return self.execute("
|
96
|
+
return self.execute("543c230a-5f71-4c0a-837d-140439c3ca82", Offers.new(mapObj))
|
100
97
|
end
|
101
98
|
|
102
99
|
|
@@ -118,7 +115,7 @@ module MasterCard
|
|
118
115
|
#@raise [APIException] an exception from the response status
|
119
116
|
#
|
120
117
|
|
121
|
-
return self.execute("
|
118
|
+
return self.execute("34bf6ba1-6d83-4152-a497-41f28f7a4863",Offers.new(criteria))
|
122
119
|
end
|
123
120
|
|
124
121
|
|
@@ -129,7 +126,7 @@ module MasterCard
|
|
129
126
|
#@param Dict mapObj, containing the required parameters to create a new object
|
130
127
|
#@return [Offers] of the response of created instance.
|
131
128
|
#@raise [APIException] an exception from the response status
|
132
|
-
return self.execute("
|
129
|
+
return self.execute("a875f3d8-0894-4597-8e65-2e1e33c00f61", Offers.new(mapObj))
|
133
130
|
end
|
134
131
|
|
135
132
|
|
@@ -145,7 +142,7 @@ module MasterCard
|
|
145
142
|
#@param Dict mapObj, containing the required parameters to create a new object
|
146
143
|
#@return [Offers] of the response of created instance.
|
147
144
|
#@raise [APIException] an exception from the response status
|
148
|
-
return self.execute("
|
145
|
+
return self.execute("3a237122-9c7b-417f-b0c1-f3ac803b5507", Offers.new(mapObj))
|
149
146
|
end
|
150
147
|
|
151
148
|
|
@@ -161,7 +158,7 @@ module MasterCard
|
|
161
158
|
#@param Dict mapObj, containing the required parameters to create a new object
|
162
159
|
#@return [Offers] of the response of created instance.
|
163
160
|
#@raise [APIException] an exception from the response status
|
164
|
-
return self.execute("
|
161
|
+
return self.execute("1646df12-f8c3-406c-a9a5-532de4b6f495", Offers.new(mapObj))
|
165
162
|
end
|
166
163
|
|
167
164
|
|
@@ -177,7 +174,7 @@ module MasterCard
|
|
177
174
|
#@param Dict mapObj, containing the required parameters to create a new object
|
178
175
|
#@return [Offers] of the response of created instance.
|
179
176
|
#@raise [APIException] an exception from the response status
|
180
|
-
return self.execute("
|
177
|
+
return self.execute("f8bf2153-0d21-4a5d-a6c3-6bdcfe5e1122", Offers.new(mapObj))
|
181
178
|
end
|
182
179
|
|
183
180
|
|
@@ -188,19 +185,18 @@ module MasterCard
|
|
188
185
|
|
189
186
|
|
190
187
|
|
191
|
-
|
192
|
-
|
193
|
-
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
def self.getRedeemedOffers(criteria)
|
194
192
|
#
|
193
|
+
#Query objects of type Offers by id and optional criteria
|
195
194
|
#@param [Dict] criteria
|
196
|
-
#@return
|
195
|
+
#@return [Offers] object representing the response.
|
197
196
|
#@raise [APIException] an exception from the response status
|
197
|
+
#
|
198
198
|
|
199
|
-
|
200
|
-
return self.execute("f89d3973-8fc5-46f4-ae0a-035a41cb52db",Offers.new)
|
201
|
-
else
|
202
|
-
return self.execute("f89d3973-8fc5-46f4-ae0a-035a41cb52db",Offers.new(criteria))
|
203
|
-
end
|
199
|
+
return self.execute("9151e342-2c08-46fe-ac90-77498b436bb5",Offers.new(criteria))
|
204
200
|
end
|
205
201
|
|
206
202
|
|
@@ -209,8 +205,6 @@ module MasterCard
|
|
209
205
|
|
210
206
|
|
211
207
|
|
212
|
-
|
213
|
-
|
214
208
|
def self.getPointsExpiring(criteria)
|
215
209
|
#
|
216
210
|
#Query objects of type Offers by id and optional criteria
|
@@ -219,7 +213,7 @@ module MasterCard
|
|
219
213
|
#@raise [APIException] an exception from the response status
|
220
214
|
#
|
221
215
|
|
222
|
-
return self.execute("
|
216
|
+
return self.execute("0bd2dfe2-3bc1-40a4-8a69-c5cf04aa63d5",Offers.new(criteria))
|
223
217
|
end
|
224
218
|
|
225
219
|
|
@@ -236,7 +230,7 @@ module MasterCard
|
|
236
230
|
#@raise [APIException] an exception from the response status
|
237
231
|
#
|
238
232
|
|
239
|
-
return self.execute("
|
233
|
+
return self.execute("749e8383-1da9-4687-9c90-d772ca0ad6fa",Offers.new(criteria))
|
240
234
|
end
|
241
235
|
|
242
236
|
|
@@ -253,25 +247,24 @@ module MasterCard
|
|
253
247
|
#@raise [APIException] an exception from the response status
|
254
248
|
#
|
255
249
|
|
256
|
-
return self.execute("
|
250
|
+
return self.execute("f96af6ac-3e2d-404e-81f2-2185288ffe6c",Offers.new(criteria))
|
257
251
|
end
|
258
252
|
|
259
253
|
|
260
254
|
|
261
255
|
|
262
|
-
|
263
|
-
|
264
|
-
|
256
|
+
|
257
|
+
|
258
|
+
|
259
|
+
def self.getVouchers(criteria)
|
265
260
|
#
|
261
|
+
#Query objects of type Offers by id and optional criteria
|
266
262
|
#@param [Dict] criteria
|
267
|
-
#@return
|
263
|
+
#@return [Offers] object representing the response.
|
268
264
|
#@raise [APIException] an exception from the response status
|
265
|
+
#
|
269
266
|
|
270
|
-
|
271
|
-
return self.execute("f94538a0-4a24-4a69-b665-bc070879f41f",Offers.new)
|
272
|
-
else
|
273
|
-
return self.execute("f94538a0-4a24-4a69-b665-bc070879f41f",Offers.new(criteria))
|
274
|
-
end
|
267
|
+
return self.execute("59f49ef9-2ce9-4b5f-8253-041542c2c844",Offers.new(criteria))
|
275
268
|
end
|
276
269
|
|
277
270
|
|
@@ -280,8 +273,6 @@ module MasterCard
|
|
280
273
|
|
281
274
|
|
282
275
|
|
283
|
-
|
284
|
-
|
285
276
|
def self.getVoucherDetail(criteria)
|
286
277
|
#
|
287
278
|
#Query objects of type Offers by id and optional criteria
|
@@ -290,7 +281,7 @@ module MasterCard
|
|
290
281
|
#@raise [APIException] an exception from the response status
|
291
282
|
#
|
292
283
|
|
293
|
-
return self.execute("
|
284
|
+
return self.execute("e23c7df9-4187-48bb-b6b9-896897601cf7",Offers.new(criteria))
|
294
285
|
end
|
295
286
|
|
296
287
|
|
@@ -37,11 +37,11 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
43
|
-
'
|
44
|
-
'
|
40
|
+
'f6f55c0f-e33d-43c2-9d2d-41ad36577c2f' => OperationConfig.new("/bundle/profile/v1/users", "create", ["x-client-correlation-id"], []),
|
41
|
+
'10dd5d03-d9ac-479c-9802-6aaaef5e3956' => OperationConfig.new("/bundle/profile/v1/users/{userId}", "delete", ["x-client-correlation-id"], []),
|
42
|
+
'be9df249-571e-411d-93cd-6534f326bd70' => OperationConfig.new("/bundle/profile/v1/users/{userId}/patch", "create", ["x-client-correlation-id"], []),
|
43
|
+
'8f140e62-f337-4f91-8669-835904cd8fa7' => OperationConfig.new("/bundle/profile/v1/users/{userId}", "read", ["x-client-correlation-id"], []),
|
44
|
+
'a5601ce3-f0a5-4892-a4b7-ab51b5cdd4e7' => OperationConfig.new("/bundle/profile/v1/users/{userId}", "update", ["x-client-correlation-id"], []),
|
45
45
|
|
46
46
|
}
|
47
47
|
|
@@ -68,7 +68,7 @@ module MasterCard
|
|
68
68
|
#@param Dict mapObj, containing the required parameters to create a new object
|
69
69
|
#@return [User] of the response of created instance.
|
70
70
|
#@raise [APIException] an exception from the response status
|
71
|
-
return self.execute("
|
71
|
+
return self.execute("f6f55c0f-e33d-43c2-9d2d-41ad36577c2f", User.new(mapObj))
|
72
72
|
end
|
73
73
|
|
74
74
|
|
@@ -101,7 +101,7 @@ module MasterCard
|
|
101
101
|
end
|
102
102
|
end
|
103
103
|
|
104
|
-
return self.execute("
|
104
|
+
return self.execute("10dd5d03-d9ac-479c-9802-6aaaef5e3956", mapObj)
|
105
105
|
end
|
106
106
|
|
107
107
|
|
@@ -114,7 +114,7 @@ module MasterCard
|
|
114
114
|
#@raise [APIException] an exception from the response status
|
115
115
|
#
|
116
116
|
|
117
|
-
return self.class.execute("
|
117
|
+
return self.class.execute("10dd5d03-d9ac-479c-9802-6aaaef5e3956", self)
|
118
118
|
end
|
119
119
|
|
120
120
|
|
@@ -127,7 +127,7 @@ module MasterCard
|
|
127
127
|
#@param Dict mapObj, containing the required parameters to create a new object
|
128
128
|
#@return [User] of the response of created instance.
|
129
129
|
#@raise [APIException] an exception from the response status
|
130
|
-
return self.execute("
|
130
|
+
return self.execute("be9df249-571e-411d-93cd-6534f326bd70", User.new(mapObj))
|
131
131
|
end
|
132
132
|
|
133
133
|
|
@@ -160,7 +160,7 @@ module MasterCard
|
|
160
160
|
end
|
161
161
|
end
|
162
162
|
|
163
|
-
return self.execute("
|
163
|
+
return self.execute("8f140e62-f337-4f91-8669-835904cd8fa7",User.new(mapObj))
|
164
164
|
end
|
165
165
|
|
166
166
|
|
@@ -173,7 +173,7 @@ module MasterCard
|
|
173
173
|
#@return [User] object representing the response.
|
174
174
|
#@raise [APIException] an exception from the response status
|
175
175
|
#
|
176
|
-
return self.class.execute("
|
176
|
+
return self.class.execute("a5601ce3-f0a5-4892-a4b7-ab51b5cdd4e7",self)
|
177
177
|
end
|
178
178
|
|
179
179
|
|
@@ -37,8 +37,8 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
40
|
+
'b9660096-a648-4afb-9f67-78ad6a2beba2' => OperationConfig.new("/loyalty/v1/users/{userId}/wifi", "query", ["x-client-correlation-id"], []),
|
41
|
+
'4d50203f-51ac-4f52-8274-0da86805f0aa' => OperationConfig.new("/loyalty/v1/wifi", "query", ["x-client-correlation-id"], ["latitude","longitude","radius"]),
|
42
42
|
|
43
43
|
}
|
44
44
|
|
@@ -71,30 +71,27 @@ module MasterCard
|
|
71
71
|
#@raise [APIException] an exception from the response status
|
72
72
|
#
|
73
73
|
|
74
|
-
return self.execute("
|
74
|
+
return self.execute("b9660096-a648-4afb-9f67-78ad6a2beba2",Wifi.new(criteria))
|
75
75
|
end
|
76
76
|
|
77
77
|
|
78
78
|
|
79
79
|
|
80
|
-
|
81
|
-
|
82
|
-
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
def self.getWifi(criteria)
|
83
84
|
#
|
85
|
+
#Query objects of type Wifi by id and optional criteria
|
84
86
|
#@param [Dict] criteria
|
85
|
-
#@return
|
87
|
+
#@return [Wifi] object representing the response.
|
86
88
|
#@raise [APIException] an exception from the response status
|
89
|
+
#
|
87
90
|
|
88
|
-
|
89
|
-
return self.execute("ec5de542-c9d1-4433-a7f2-ef9fa4c47f1d",Wifi.new)
|
90
|
-
else
|
91
|
-
return self.execute("ec5de542-c9d1-4433-a7f2-ef9fa4c47f1d",Wifi.new(criteria))
|
92
|
-
end
|
91
|
+
return self.execute("4d50203f-51ac-4f52-8274-0da86805f0aa",Wifi.new(criteria))
|
93
92
|
end
|
94
93
|
|
95
94
|
|
96
|
-
|
97
|
-
|
98
95
|
end
|
99
96
|
end
|
100
97
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mastercard_mcon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MasterCard Worldwide
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mastercard_api_core
|