mastercard_mcon 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 813110e7973bc1b9e221ab40b771a36c91542d55
4
+ data.tar.gz: 83890e66b72b5f7557badbb8452aa4b5be1f9604
5
+ SHA512:
6
+ metadata.gz: 20ff25bc555b1570ee98a63c27ffc9809dec188dac961b001bcf9beaf49ae47b9169f26c53c8284c13fa3f6270c4f41e51c097ff0575be6eba5265e697618f9f
7
+ data.tar.gz: 57bea0212e636a1c011e56770157c248df4f587330dea6d7db8628c7b273f45f4a7aa3ade01bb8670dc098bc652460a7d87c8b35815587dfd4341aa2271a0806
@@ -0,0 +1,159 @@
1
+ #
2
+ # Copyright (c) 2016 MasterCard International Incorporated
3
+ # All rights reserved.
4
+ #
5
+ # Redistribution and use in source and binary forms, with or without modification, are
6
+ # permitted provided that the following conditions are met:
7
+ #
8
+ # Redistributions of source code must retain the above copyright notice, this list of
9
+ # conditions and the following disclaimer.
10
+ # Redistributions in binary form must reproduce the above copyright notice, this list of
11
+ # conditions and the following disclaimer in the documentation and/or other materials
12
+ # provided with the distribution.
13
+ # Neither the name of the MasterCard International Incorporated nor the names of its
14
+ # contributors may be used to endorse or promote products derived from this software
15
+ # without specific prior written permission.
16
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
17
+ # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18
+ # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
19
+ # SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
20
+ # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
21
+ # TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
22
+ # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
23
+ # IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
24
+ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25
+ # SUCH DAMAGE.
26
+ #
27
+
28
+
29
+ require "mastercard/core/model"
30
+ require "mastercard/core/baseobject"
31
+
32
+ module MasterCard
33
+ module API
34
+ module McOn
35
+ class Airport < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
+
39
+ @__store = {
40
+ '474675c8-d2b6-43e4-b530-e359bc6967eb' => OperationConfig.new("/loyalty/v1/airport/lounges", "query", ["x-client-correlation-id"], ["searchText","preferredLanguage"]),
41
+ 'ce3b5307-24d8-464f-a5ca-c62877bb3427' => OperationConfig.new("/loyalty/v1/airport/lounges/{loungeId}/detail", "query", ["x-client-correlation-id"], ["preferredLanguage"]),
42
+ '40043f1f-2a7b-49a7-bac8-fbd4e665b0f3' => OperationConfig.new("/loyalty/v1/airport/lounges/{loungeId}/history", "query", ["x-client-correlation-id"], ["userId"]),
43
+ 'a46ca975-4b46-4136-be1f-3889fe175437' => OperationConfig.new("/loyalty/v1/airport/{userId}/dmc", "query", ["x-client-correlation-id"], []),
44
+ '2ccf5120-56f4-46a1-babd-2f82789b716a' => OperationConfig.new("/loyalty/v1/users/{userId}/airport", "query", ["x-client-correlation-id"], []),
45
+
46
+ }
47
+
48
+ protected
49
+
50
+ def self.getOperationConfig(operationUUID)
51
+ if @__store.key?(operationUUID)
52
+ return @__store[operationUUID]
53
+ end
54
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
55
+ end
56
+
57
+ def self.getOperationMetadata()
58
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
59
+ end
60
+
61
+ public
62
+
63
+
64
+
65
+
66
+
67
+
68
+
69
+ def self.getLounges(criteria)
70
+ #
71
+ #Query objects of type Airport by id and optional criteria
72
+ #@param [Dict] criteria
73
+ #@return [Airport] object representing the response.
74
+ #@raise [APIException] an exception from the response status
75
+ #
76
+
77
+ return self.execute("474675c8-d2b6-43e4-b530-e359bc6967eb",Airport.new(criteria))
78
+ end
79
+
80
+
81
+
82
+
83
+
84
+
85
+
86
+ def self.getLoungeDetail(criteria)
87
+ #
88
+ #Query objects of type Airport by id and optional criteria
89
+ #@param [Dict] criteria
90
+ #@return [Airport] object representing the response.
91
+ #@raise [APIException] an exception from the response status
92
+ #
93
+
94
+ return self.execute("ce3b5307-24d8-464f-a5ca-c62877bb3427",Airport.new(criteria))
95
+ end
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+ def self.getLoungeHistory(criteria)
104
+ #
105
+ #Query objects of type Airport by id and optional criteria
106
+ #@param [Dict] criteria
107
+ #@return [Airport] object representing the response.
108
+ #@raise [APIException] an exception from the response status
109
+ #
110
+
111
+ return self.execute("40043f1f-2a7b-49a7-bac8-fbd4e665b0f3",Airport.new(criteria))
112
+ end
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+ def self.getDMC(criteria)
121
+ #
122
+ #Query objects of type Airport by id and optional criteria
123
+ #@param [Dict] criteria
124
+ #@return [Airport] object representing the response.
125
+ #@raise [APIException] an exception from the response status
126
+ #
127
+
128
+ return self.execute("a46ca975-4b46-4136-be1f-3889fe175437",Airport.new(criteria))
129
+ end
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+ def self.userAirportRegistrationStatus(criteria)
138
+ #
139
+ #Query objects of type Airport by id and optional criteria
140
+ #@param [Dict] criteria
141
+ #@return [Airport] object representing the response.
142
+ #@raise [APIException] an exception from the response status
143
+ #
144
+
145
+ return self.execute("2ccf5120-56f4-46a1-babd-2f82789b716a",Airport.new(criteria))
146
+ end
147
+
148
+
149
+ end
150
+ end
151
+ end
152
+ end
153
+
154
+
155
+
156
+
157
+
158
+
159
+
@@ -0,0 +1,176 @@
1
+ #
2
+ # Copyright (c) 2016 MasterCard International Incorporated
3
+ # All rights reserved.
4
+ #
5
+ # Redistribution and use in source and binary forms, with or without modification, are
6
+ # permitted provided that the following conditions are met:
7
+ #
8
+ # Redistributions of source code must retain the above copyright notice, this list of
9
+ # conditions and the following disclaimer.
10
+ # Redistributions in binary form must reproduce the above copyright notice, this list of
11
+ # conditions and the following disclaimer in the documentation and/or other materials
12
+ # provided with the distribution.
13
+ # Neither the name of the MasterCard International Incorporated nor the names of its
14
+ # contributors may be used to endorse or promote products derived from this software
15
+ # without specific prior written permission.
16
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
17
+ # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18
+ # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
19
+ # SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
20
+ # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
21
+ # TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
22
+ # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
23
+ # IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
24
+ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25
+ # SUCH DAMAGE.
26
+ #
27
+
28
+
29
+ require "mastercard/core/model"
30
+ require "mastercard/core/baseobject"
31
+
32
+ module MasterCard
33
+ module API
34
+ module McOn
35
+ class Benefits < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
+
39
+ @__store = {
40
+ '9081ac68-dc73-4495-945a-d645283faf99' => OperationConfig.new("/loyalty/v1/benefits/assigned", "query", ["x-client-correlation-id"], ["ica","userId","channel","preferredLanguage"]),
41
+ 'e058d285-6026-4e23-a838-85180188ee9b' => OperationConfig.new("/loyalty/v1/benefits/{benefitId}/detail", "query", ["x-client-correlation-id"], ["ica","channel","preferredLanguage"]),
42
+ 'b964459b-0f7b-4516-888d-bf40a54139b6' => OperationConfig.new("/loyalty/v1/benefits", "query", ["x-client-correlation-id"], ["ica","cardProductType","channel","preferredLanguage"]),
43
+ '28a6b103-899a-4839-a46b-856f9bf821c1' => OperationConfig.new("/loyalty/v1/benefits", "create", ["x-client-correlation-id"], []),
44
+ '97edd7d5-df48-4aaf-983f-fa84897b7e69' => OperationConfig.new("/loyalty/v1/benefits/programterms", "query", ["x-client-correlation-id"], ["ica","preferredLanguage"]),
45
+ 'de1ab580-c3c0-450a-a08a-2d5611ac0520' => OperationConfig.new("/loyalty/v1/users/{userId}/benefits", "query", ["x-client-correlation-id"], []),
46
+
47
+ }
48
+
49
+ protected
50
+
51
+ def self.getOperationConfig(operationUUID)
52
+ if @__store.key?(operationUUID)
53
+ return @__store[operationUUID]
54
+ end
55
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
56
+ end
57
+
58
+ def self.getOperationMetadata()
59
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
60
+ end
61
+
62
+ public
63
+
64
+
65
+
66
+
67
+
68
+
69
+
70
+ def self.getAssignedBenefits(criteria)
71
+ #
72
+ #Query objects of type Benefits by id and optional criteria
73
+ #@param [Dict] criteria
74
+ #@return [Benefits] object representing the response.
75
+ #@raise [APIException] an exception from the response status
76
+ #
77
+
78
+ return self.execute("9081ac68-dc73-4495-945a-d645283faf99",Benefits.new(criteria))
79
+ end
80
+
81
+
82
+
83
+
84
+
85
+
86
+
87
+ def self.getBenefitDetail(criteria)
88
+ #
89
+ #Query objects of type Benefits by id and optional criteria
90
+ #@param [Dict] criteria
91
+ #@return [Benefits] object representing the response.
92
+ #@raise [APIException] an exception from the response status
93
+ #
94
+
95
+ return self.execute("e058d285-6026-4e23-a838-85180188ee9b",Benefits.new(criteria))
96
+ end
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+ def self.getBenefits(criteria)
105
+ #
106
+ #Query objects of type Benefits by id and optional criteria
107
+ #@param [Dict] criteria
108
+ #@return [Benefits] object representing the response.
109
+ #@raise [APIException] an exception from the response status
110
+ #
111
+
112
+ return self.execute("b964459b-0f7b-4516-888d-bf40a54139b6",Benefits.new(criteria))
113
+ end
114
+
115
+
116
+ def self.selectBenefits(mapObj)
117
+ #
118
+ #Creates object of type Benefits
119
+ #
120
+ #@param Dict mapObj, containing the required parameters to create a new object
121
+ #@return [Benefits] of the response of created instance.
122
+ #@raise [APIException] an exception from the response status
123
+ return self.execute("28a6b103-899a-4839-a46b-856f9bf821c1", Benefits.new(mapObj))
124
+ end
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+ def self.getProgramTerms(criteria)
138
+ #
139
+ #Query objects of type Benefits by id and optional criteria
140
+ #@param [Dict] criteria
141
+ #@return [Benefits] object representing the response.
142
+ #@raise [APIException] an exception from the response status
143
+ #
144
+
145
+ return self.execute("97edd7d5-df48-4aaf-983f-fa84897b7e69",Benefits.new(criteria))
146
+ end
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+ def self.userBenefitsRegistrationStatus(criteria)
155
+ #
156
+ #Query objects of type Benefits by id and optional criteria
157
+ #@param [Dict] criteria
158
+ #@return [Benefits] object representing the response.
159
+ #@raise [APIException] an exception from the response status
160
+ #
161
+
162
+ return self.execute("de1ab580-c3c0-450a-a08a-2d5611ac0520",Benefits.new(criteria))
163
+ end
164
+
165
+
166
+ end
167
+ end
168
+ end
169
+ end
170
+
171
+
172
+
173
+
174
+
175
+
176
+
@@ -0,0 +1,103 @@
1
+ #
2
+ # Copyright (c) 2016 MasterCard International Incorporated
3
+ # All rights reserved.
4
+ #
5
+ # Redistribution and use in source and binary forms, with or without modification, are
6
+ # permitted provided that the following conditions are met:
7
+ #
8
+ # Redistributions of source code must retain the above copyright notice, this list of
9
+ # conditions and the following disclaimer.
10
+ # Redistributions in binary form must reproduce the above copyright notice, this list of
11
+ # conditions and the following disclaimer in the documentation and/or other materials
12
+ # provided with the distribution.
13
+ # Neither the name of the MasterCard International Incorporated nor the names of its
14
+ # contributors may be used to endorse or promote products derived from this software
15
+ # without specific prior written permission.
16
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
17
+ # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18
+ # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
19
+ # SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
20
+ # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
21
+ # TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
22
+ # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
23
+ # IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
24
+ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25
+ # SUCH DAMAGE.
26
+ #
27
+
28
+
29
+ require "mastercard/core/model"
30
+ require "mastercard/core/baseobject"
31
+
32
+ module MasterCard
33
+ module API
34
+ module McOn
35
+ class Insurance < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
+
39
+ @__store = {
40
+ '739c1c7b-29f7-43c6-94c7-d9b73c1d89f6' => OperationConfig.new("/loyalty/v1/insurance/claim", "create", ["x-client-correlation-id"], []),
41
+ '796588c6-b198-4942-89e6-f5a44f41db4f' => OperationConfig.new("/loyalty/v1/insurance/tokenizeUserData", "create", ["x-client-correlation-id"], []),
42
+
43
+ }
44
+
45
+ protected
46
+
47
+ def self.getOperationConfig(operationUUID)
48
+ if @__store.key?(operationUUID)
49
+ return @__store[operationUUID]
50
+ end
51
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
52
+ end
53
+
54
+ def self.getOperationMetadata()
55
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
56
+ end
57
+
58
+ public
59
+
60
+
61
+ def self.getInsuranceClaim(mapObj)
62
+ #
63
+ #Creates object of type Insurance
64
+ #
65
+ #@param Dict mapObj, containing the required parameters to create a new object
66
+ #@return [Insurance] of the response of created instance.
67
+ #@raise [APIException] an exception from the response status
68
+ return self.execute("739c1c7b-29f7-43c6-94c7-d9b73c1d89f6", Insurance.new(mapObj))
69
+ end
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+ def self.tokenizeUserData(mapObj)
78
+ #
79
+ #Creates object of type Insurance
80
+ #
81
+ #@param Dict mapObj, containing the required parameters to create a new object
82
+ #@return [Insurance] of the response of created instance.
83
+ #@raise [APIException] an exception from the response status
84
+ return self.execute("796588c6-b198-4942-89e6-f5a44f41db4f", Insurance.new(mapObj))
85
+ end
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+ end
94
+ end
95
+ end
96
+ end
97
+
98
+
99
+
100
+
101
+
102
+
103
+
@@ -0,0 +1,298 @@
1
+ #
2
+ # Copyright (c) 2016 MasterCard International Incorporated
3
+ # All rights reserved.
4
+ #
5
+ # Redistribution and use in source and binary forms, with or without modification, are
6
+ # permitted provided that the following conditions are met:
7
+ #
8
+ # Redistributions of source code must retain the above copyright notice, this list of
9
+ # conditions and the following disclaimer.
10
+ # Redistributions in binary form must reproduce the above copyright notice, this list of
11
+ # conditions and the following disclaimer in the documentation and/or other materials
12
+ # provided with the distribution.
13
+ # Neither the name of the MasterCard International Incorporated nor the names of its
14
+ # contributors may be used to endorse or promote products derived from this software
15
+ # without specific prior written permission.
16
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
17
+ # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18
+ # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
19
+ # SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
20
+ # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
21
+ # TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
22
+ # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
23
+ # IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
24
+ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25
+ # SUCH DAMAGE.
26
+ #
27
+
28
+
29
+ require "mastercard/core/model"
30
+ require "mastercard/core/baseobject"
31
+
32
+ module MasterCard
33
+ module API
34
+ module McOn
35
+ class Offers < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
+
39
+ @__store = {
40
+ 'ff3d410d-f8a8-4bd4-b897-8c7ecb370813' => OperationConfig.new("/loyalty/v1/offers", "query", ["x-client-correlation-id"], ["userId","preferredLanguage","sort","category","featured","favorite","partner","latitude","longitude","searchRadius"]),
41
+ '1f1f8519-5aff-4f05-ae36-3eaad53d2a8f' => OperationConfig.new("/loyalty/v1/offers/{offerId}/activate", "create", ["x-client-correlation-id"], []),
42
+ 'e1a5bf6e-80f0-46a9-89e0-03456a83f50c' => OperationConfig.new("/loyalty/v1/offers/{offerId}/detail", "query", ["x-client-correlation-id"], ["userId","preferredLanguage"]),
43
+ '320c950d-3b7c-4988-ae90-e7decd003622' => OperationConfig.new("/loyalty/v1/offers/{offerId}/favorite", "create", ["x-client-correlation-id"], []),
44
+ '68ab1540-c9ed-4790-9424-f55b05642a82' => OperationConfig.new("/loyalty/v1/offers/{offerId}/redeem", "create", ["x-client-correlation-id"], []),
45
+ '159c5daf-c1f2-4aa6-96eb-7a6dc636e904' => OperationConfig.new("/loyalty/v1/offers/{offerId}/unfavorite", "create", ["x-client-correlation-id"], []),
46
+ '9d8d3efb-1be2-42b4-aac7-3e1b8181ad58' => OperationConfig.new("/loyalty/v1/offers/promo", "create", ["x-client-correlation-id"], []),
47
+ '0f94f5b3-8de3-4ede-bf5a-bcc45d4306e5' => OperationConfig.new("/loyalty/v1/offers/redeemed", "query", ["x-client-correlation-id"], ["userId","preferredLanguage"]),
48
+ 'd87f02cb-3440-458a-a465-2e85d9d92bc8' => OperationConfig.new("/loyalty/v1/points/expiring", "query", ["x-client-correlation-id"], ["userId"]),
49
+ '3e0bd002-9807-477b-b8a8-78a5d61168bb' => OperationConfig.new("/loyalty/v1/points", "query", ["x-client-correlation-id"], ["userId"]),
50
+ '0dd5501b-59e3-42fa-8370-ce123dd001ee' => OperationConfig.new("/loyalty/v1/users/{userId}/offers", "query", ["x-client-correlation-id"], []),
51
+ '2d43c13c-9e91-476f-8871-570b3298e586' => OperationConfig.new("/loyalty/v1/vouchers", "query", ["x-client-correlation-id"], ["userId"]),
52
+ '21526adf-86f5-45a9-98fe-108d849ef38e' => OperationConfig.new("/loyalty/v1/vouchers/{voucherId}/detail", "query", ["x-client-correlation-id"], ["userId"]),
53
+
54
+ }
55
+
56
+ protected
57
+
58
+ def self.getOperationConfig(operationUUID)
59
+ if @__store.key?(operationUUID)
60
+ return @__store[operationUUID]
61
+ end
62
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
63
+ end
64
+
65
+ def self.getOperationMetadata()
66
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
67
+ end
68
+
69
+ public
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+ def self.getOffers(criteria)
78
+ #
79
+ #Query objects of type Offers by id and optional criteria
80
+ #@param [Dict] criteria
81
+ #@return [Offers] object representing the response.
82
+ #@raise [APIException] an exception from the response status
83
+ #
84
+
85
+ return self.execute("ff3d410d-f8a8-4bd4-b897-8c7ecb370813",Offers.new(criteria))
86
+ end
87
+
88
+
89
+ def self.activateOffer(mapObj)
90
+ #
91
+ #Creates object of type Offers
92
+ #
93
+ #@param Dict mapObj, containing the required parameters to create a new object
94
+ #@return [Offers] of the response of created instance.
95
+ #@raise [APIException] an exception from the response status
96
+ return self.execute("1f1f8519-5aff-4f05-ae36-3eaad53d2a8f", Offers.new(mapObj))
97
+ end
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+ def self.getOfferDetail(criteria)
111
+ #
112
+ #Query objects of type Offers by id and optional criteria
113
+ #@param [Dict] criteria
114
+ #@return [Offers] object representing the response.
115
+ #@raise [APIException] an exception from the response status
116
+ #
117
+
118
+ return self.execute("e1a5bf6e-80f0-46a9-89e0-03456a83f50c",Offers.new(criteria))
119
+ end
120
+
121
+
122
+ def self.favoriteOffer(mapObj)
123
+ #
124
+ #Creates object of type Offers
125
+ #
126
+ #@param Dict mapObj, containing the required parameters to create a new object
127
+ #@return [Offers] of the response of created instance.
128
+ #@raise [APIException] an exception from the response status
129
+ return self.execute("320c950d-3b7c-4988-ae90-e7decd003622", Offers.new(mapObj))
130
+ end
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+ def self.redeemOffer(mapObj)
139
+ #
140
+ #Creates object of type Offers
141
+ #
142
+ #@param Dict mapObj, containing the required parameters to create a new object
143
+ #@return [Offers] of the response of created instance.
144
+ #@raise [APIException] an exception from the response status
145
+ return self.execute("68ab1540-c9ed-4790-9424-f55b05642a82", Offers.new(mapObj))
146
+ end
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+ def self.unfavoriteOffer(mapObj)
155
+ #
156
+ #Creates object of type Offers
157
+ #
158
+ #@param Dict mapObj, containing the required parameters to create a new object
159
+ #@return [Offers] of the response of created instance.
160
+ #@raise [APIException] an exception from the response status
161
+ return self.execute("159c5daf-c1f2-4aa6-96eb-7a6dc636e904", Offers.new(mapObj))
162
+ end
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+ def self.submitOfferPromo(mapObj)
171
+ #
172
+ #Creates object of type Offers
173
+ #
174
+ #@param Dict mapObj, containing the required parameters to create a new object
175
+ #@return [Offers] of the response of created instance.
176
+ #@raise [APIException] an exception from the response status
177
+ return self.execute("9d8d3efb-1be2-42b4-aac7-3e1b8181ad58", Offers.new(mapObj))
178
+ end
179
+
180
+
181
+
182
+
183
+
184
+
185
+
186
+
187
+
188
+
189
+
190
+
191
+ def self.getRedeemedOffers(criteria)
192
+ #
193
+ #Query objects of type Offers by id and optional criteria
194
+ #@param [Dict] criteria
195
+ #@return [Offers] object representing the response.
196
+ #@raise [APIException] an exception from the response status
197
+ #
198
+
199
+ return self.execute("0f94f5b3-8de3-4ede-bf5a-bcc45d4306e5",Offers.new(criteria))
200
+ end
201
+
202
+
203
+
204
+
205
+
206
+
207
+
208
+ def self.getPointsExpiring(criteria)
209
+ #
210
+ #Query objects of type Offers by id and optional criteria
211
+ #@param [Dict] criteria
212
+ #@return [Offers] object representing the response.
213
+ #@raise [APIException] an exception from the response status
214
+ #
215
+
216
+ return self.execute("d87f02cb-3440-458a-a465-2e85d9d92bc8",Offers.new(criteria))
217
+ end
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+ def self.getPoints(criteria)
226
+ #
227
+ #Query objects of type Offers by id and optional criteria
228
+ #@param [Dict] criteria
229
+ #@return [Offers] object representing the response.
230
+ #@raise [APIException] an exception from the response status
231
+ #
232
+
233
+ return self.execute("3e0bd002-9807-477b-b8a8-78a5d61168bb",Offers.new(criteria))
234
+ end
235
+
236
+
237
+
238
+
239
+
240
+
241
+
242
+ def self.userOffersRegistrationStatus(criteria)
243
+ #
244
+ #Query objects of type Offers by id and optional criteria
245
+ #@param [Dict] criteria
246
+ #@return [Offers] object representing the response.
247
+ #@raise [APIException] an exception from the response status
248
+ #
249
+
250
+ return self.execute("0dd5501b-59e3-42fa-8370-ce123dd001ee",Offers.new(criteria))
251
+ end
252
+
253
+
254
+
255
+
256
+
257
+
258
+
259
+ def self.getVouchers(criteria)
260
+ #
261
+ #Query objects of type Offers by id and optional criteria
262
+ #@param [Dict] criteria
263
+ #@return [Offers] object representing the response.
264
+ #@raise [APIException] an exception from the response status
265
+ #
266
+
267
+ return self.execute("2d43c13c-9e91-476f-8871-570b3298e586",Offers.new(criteria))
268
+ end
269
+
270
+
271
+
272
+
273
+
274
+
275
+
276
+ def self.getVoucherDetail(criteria)
277
+ #
278
+ #Query objects of type Offers by id and optional criteria
279
+ #@param [Dict] criteria
280
+ #@return [Offers] object representing the response.
281
+ #@raise [APIException] an exception from the response status
282
+ #
283
+
284
+ return self.execute("21526adf-86f5-45a9-98fe-108d849ef38e",Offers.new(criteria))
285
+ end
286
+
287
+
288
+ end
289
+ end
290
+ end
291
+ end
292
+
293
+
294
+
295
+
296
+
297
+
298
+
@@ -0,0 +1,104 @@
1
+ #
2
+ # Copyright (c) 2016 MasterCard International Incorporated
3
+ # All rights reserved.
4
+ #
5
+ # Redistribution and use in source and binary forms, with or without modification, are
6
+ # permitted provided that the following conditions are met:
7
+ #
8
+ # Redistributions of source code must retain the above copyright notice, this list of
9
+ # conditions and the following disclaimer.
10
+ # Redistributions in binary form must reproduce the above copyright notice, this list of
11
+ # conditions and the following disclaimer in the documentation and/or other materials
12
+ # provided with the distribution.
13
+ # Neither the name of the MasterCard International Incorporated nor the names of its
14
+ # contributors may be used to endorse or promote products derived from this software
15
+ # without specific prior written permission.
16
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
17
+ # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18
+ # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
19
+ # SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
20
+ # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
21
+ # TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
22
+ # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
23
+ # IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
24
+ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25
+ # SUCH DAMAGE.
26
+ #
27
+
28
+ require "mastercard/core/constants"
29
+ require "mastercard/core/config"
30
+
31
+ module MasterCard
32
+ module API
33
+ module McOn
34
+ class ResourceConfig
35
+ include MasterCard::Core
36
+
37
+ @@instance = nil
38
+
39
+ def initialize
40
+ @override = nil
41
+ @host = nil
42
+ @context = nil
43
+
44
+ Config.registerResourceConfig(self)
45
+ currentEnvironment = Config.getEnvironment()
46
+ self.setEnvironment(currentEnvironment)
47
+
48
+ end
49
+
50
+
51
+ def self.instance
52
+ return @@instance
53
+ end
54
+
55
+
56
+ def getName
57
+ return "mc-on"
58
+ end
59
+
60
+
61
+ def getHost
62
+ unless @override.nil? || @override == 0
63
+ return @override
64
+ else
65
+ return @host
66
+ end
67
+ end
68
+
69
+ def getContext
70
+ return @context
71
+ end
72
+
73
+ def getVersion
74
+ return "mc-on:1.0.0"
75
+ end
76
+
77
+ def getJsonNative
78
+ return false
79
+ end
80
+
81
+ def getContentTypeOverride
82
+ return nil
83
+ end
84
+
85
+ def setEnvironment(environmet)
86
+ if Environment::MAPPING.key?(environmet)
87
+ tuple = Environment::MAPPING[environmet]
88
+ @host = tuple[0]
89
+ @context = tuple[1]
90
+ end
91
+ end
92
+
93
+ def setCustomEnvironment(host,context)
94
+ @host = host
95
+ @context = context
96
+ end
97
+
98
+ @@instance = ResourceConfig.new
99
+
100
+ private_class_method :new
101
+ end
102
+ end
103
+ end
104
+ end
@@ -0,0 +1,195 @@
1
+ #
2
+ # Copyright (c) 2016 MasterCard International Incorporated
3
+ # All rights reserved.
4
+ #
5
+ # Redistribution and use in source and binary forms, with or without modification, are
6
+ # permitted provided that the following conditions are met:
7
+ #
8
+ # Redistributions of source code must retain the above copyright notice, this list of
9
+ # conditions and the following disclaimer.
10
+ # Redistributions in binary form must reproduce the above copyright notice, this list of
11
+ # conditions and the following disclaimer in the documentation and/or other materials
12
+ # provided with the distribution.
13
+ # Neither the name of the MasterCard International Incorporated nor the names of its
14
+ # contributors may be used to endorse or promote products derived from this software
15
+ # without specific prior written permission.
16
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
17
+ # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18
+ # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
19
+ # SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
20
+ # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
21
+ # TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
22
+ # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
23
+ # IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
24
+ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25
+ # SUCH DAMAGE.
26
+ #
27
+
28
+
29
+ require "mastercard/core/model"
30
+ require "mastercard/core/baseobject"
31
+
32
+ module MasterCard
33
+ module API
34
+ module McOn
35
+ class User < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
+
39
+ @__store = {
40
+ 'a53bba31-7e98-49fc-9194-f555976a2cf3' => OperationConfig.new("/bundle/profile/v1/users", "create", ["x-client-correlation-id"], []),
41
+ '9efef3c7-6291-4680-b0d0-a156e6ab40ca' => OperationConfig.new("/bundle/profile/v1/users/{userId}", "delete", ["x-client-correlation-id"], []),
42
+ '84c87d8f-40a4-4217-b86c-294d2d871ab9' => OperationConfig.new("/bundle/profile/v1/users/{userId}/patch", "create", ["x-client-correlation-id"], []),
43
+ '28911b02-d33a-4e4e-81b1-e94cef8a660f' => OperationConfig.new("/bundle/profile/v1/users/{userId}", "read", ["x-client-correlation-id"], []),
44
+ '5e9b7042-d0af-4a1a-a5f3-424308c528d3' => OperationConfig.new("/bundle/profile/v1/users/{userId}", "update", ["x-client-correlation-id"], []),
45
+
46
+ }
47
+
48
+ protected
49
+
50
+ def self.getOperationConfig(operationUUID)
51
+ if @__store.key?(operationUUID)
52
+ return @__store[operationUUID]
53
+ end
54
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
55
+ end
56
+
57
+ def self.getOperationMetadata()
58
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
59
+ end
60
+
61
+ public
62
+
63
+
64
+ def self.createUser(mapObj)
65
+ #
66
+ #Creates object of type User
67
+ #
68
+ #@param Dict mapObj, containing the required parameters to create a new object
69
+ #@return [User] of the response of created instance.
70
+ #@raise [APIException] an exception from the response status
71
+ return self.execute("a53bba31-7e98-49fc-9194-f555976a2cf3", User.new(mapObj))
72
+ end
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+
82
+
83
+ def self.deleteUserById(id, map = nil)
84
+ #Delete object of type User by id
85
+
86
+ #@param [String] id
87
+ #@param [Dict] map, containing additional parameters
88
+ #@return [User] of the response of the deleted instance.
89
+ #@raise [APIException] an exception from the response status
90
+
91
+
92
+ mapObj = User.new
93
+ if !(id.nil? || id.to_s.empty?)
94
+ mapObj.set("id", id)
95
+ end
96
+ if !map.nil?
97
+ if map.instance_of? RequestMap
98
+ mapObj.setAll(map.getObject())
99
+ else
100
+ mapObj.setAll(map)
101
+ end
102
+ end
103
+
104
+ return self.execute("9efef3c7-6291-4680-b0d0-a156e6ab40ca", mapObj)
105
+ end
106
+
107
+
108
+ def deleteUser
109
+ #
110
+ #Delete object of type User
111
+
112
+ #@param [String] id
113
+ #@return [User] of the response of the deleted instance.
114
+ #@raise [APIException] an exception from the response status
115
+ #
116
+
117
+ return self.class.execute("9efef3c7-6291-4680-b0d0-a156e6ab40ca", self)
118
+ end
119
+
120
+
121
+
122
+
123
+ def self.patchUser(mapObj)
124
+ #
125
+ #Creates object of type User
126
+ #
127
+ #@param Dict mapObj, containing the required parameters to create a new object
128
+ #@return [User] of the response of created instance.
129
+ #@raise [APIException] an exception from the response status
130
+ return self.execute("84c87d8f-40a4-4217-b86c-294d2d871ab9", User.new(mapObj))
131
+ end
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+
142
+
143
+ def self.readUser(id, criteria = nil)
144
+ #
145
+ #Returns objects of type User by id and optional criteria
146
+ #@param [String] id
147
+ #@param [Dict] criteria
148
+ #@return [User] object representing the response
149
+ #@raise [APIException] an exception from the response status
150
+
151
+ mapObj = User.new
152
+ if !(id.nil? || id.to_s.empty?)
153
+ mapObj.set("id", id)
154
+ end
155
+ if !criteria.nil?
156
+ if criteria.instance_of? RequestMap
157
+ mapObj.setAll(criteria.getObject())
158
+ else
159
+ mapObj.setAll(criteria)
160
+ end
161
+ end
162
+
163
+ return self.execute("28911b02-d33a-4e4e-81b1-e94cef8a660f",User.new(mapObj))
164
+ end
165
+
166
+
167
+
168
+
169
+ def updateUser
170
+ #
171
+ #Updates an object of type User
172
+ #
173
+ #@return [User] object representing the response.
174
+ #@raise [APIException] an exception from the response status
175
+ #
176
+ return self.class.execute("5e9b7042-d0af-4a1a-a5f3-424308c528d3",self)
177
+ end
178
+
179
+
180
+
181
+
182
+
183
+
184
+
185
+ end
186
+ end
187
+ end
188
+ end
189
+
190
+
191
+
192
+
193
+
194
+
195
+
@@ -0,0 +1,105 @@
1
+ #
2
+ # Copyright (c) 2016 MasterCard International Incorporated
3
+ # All rights reserved.
4
+ #
5
+ # Redistribution and use in source and binary forms, with or without modification, are
6
+ # permitted provided that the following conditions are met:
7
+ #
8
+ # Redistributions of source code must retain the above copyright notice, this list of
9
+ # conditions and the following disclaimer.
10
+ # Redistributions in binary form must reproduce the above copyright notice, this list of
11
+ # conditions and the following disclaimer in the documentation and/or other materials
12
+ # provided with the distribution.
13
+ # Neither the name of the MasterCard International Incorporated nor the names of its
14
+ # contributors may be used to endorse or promote products derived from this software
15
+ # without specific prior written permission.
16
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
17
+ # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18
+ # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
19
+ # SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
20
+ # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
21
+ # TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
22
+ # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
23
+ # IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
24
+ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25
+ # SUCH DAMAGE.
26
+ #
27
+
28
+
29
+ require "mastercard/core/model"
30
+ require "mastercard/core/baseobject"
31
+
32
+ module MasterCard
33
+ module API
34
+ module McOn
35
+ class Wifi < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
38
+
39
+ @__store = {
40
+ '1a286779-4344-4cc0-aab7-91118a1a05c0' => OperationConfig.new("/loyalty/v1/users/{userId}/wifi", "query", ["x-client-correlation-id"], []),
41
+ '37bbc226-a145-4a07-a716-4304b6533d38' => OperationConfig.new("/loyalty/v1/wifi", "query", ["x-client-correlation-id"], ["latitude","longitude","radius"]),
42
+
43
+ }
44
+
45
+ protected
46
+
47
+ def self.getOperationConfig(operationUUID)
48
+ if @__store.key?(operationUUID)
49
+ return @__store[operationUUID]
50
+ end
51
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
52
+ end
53
+
54
+ def self.getOperationMetadata()
55
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
56
+ end
57
+
58
+ public
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+ def self.userWifiRegistrationStatus(criteria)
67
+ #
68
+ #Query objects of type Wifi by id and optional criteria
69
+ #@param [Dict] criteria
70
+ #@return [Wifi] object representing the response.
71
+ #@raise [APIException] an exception from the response status
72
+ #
73
+
74
+ return self.execute("1a286779-4344-4cc0-aab7-91118a1a05c0",Wifi.new(criteria))
75
+ end
76
+
77
+
78
+
79
+
80
+
81
+
82
+
83
+ def self.getWifi(criteria)
84
+ #
85
+ #Query objects of type Wifi by id and optional criteria
86
+ #@param [Dict] criteria
87
+ #@return [Wifi] object representing the response.
88
+ #@raise [APIException] an exception from the response status
89
+ #
90
+
91
+ return self.execute("37bbc226-a145-4a07-a716-4304b6533d38",Wifi.new(criteria))
92
+ end
93
+
94
+
95
+ end
96
+ end
97
+ end
98
+ end
99
+
100
+
101
+
102
+
103
+
104
+
105
+
@@ -0,0 +1,10 @@
1
+ require 'mastercard_api_core'
2
+
3
+ require 'mastercard/api/mcon/resourceconfig'
4
+
5
+ require 'mastercard/api/mcon/airport'
6
+ require 'mastercard/api/mcon/benefits'
7
+ require 'mastercard/api/mcon/insurance'
8
+ require 'mastercard/api/mcon/offers'
9
+ require 'mastercard/api/mcon/user'
10
+ require 'mastercard/api/mcon/wifi'
metadata ADDED
@@ -0,0 +1,86 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mastercard_mcon
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - MasterCard Worldwide
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-06-27 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: mastercard_api_core
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 1.4.0
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 1.4.8
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: 1.4.0
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 1.4.8
33
+ - !ruby/object:Gem::Dependency
34
+ name: ci_reporter_minitest
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ type: :development
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ description: MasterCard McOn Description
48
+ email:
49
+ - APISupport@mastercard.com
50
+ executables: []
51
+ extensions: []
52
+ extra_rdoc_files: []
53
+ files:
54
+ - lib/mastercard/api/mcon/airport.rb
55
+ - lib/mastercard/api/mcon/benefits.rb
56
+ - lib/mastercard/api/mcon/insurance.rb
57
+ - lib/mastercard/api/mcon/offers.rb
58
+ - lib/mastercard/api/mcon/resourceconfig.rb
59
+ - lib/mastercard/api/mcon/user.rb
60
+ - lib/mastercard/api/mcon/wifi.rb
61
+ - lib/mastercard_mcon.rb
62
+ homepage: https://developer.mastercard.com
63
+ licenses:
64
+ - BSD-2-Clause
65
+ metadata: {}
66
+ post_install_message:
67
+ rdoc_options: []
68
+ require_paths:
69
+ - lib
70
+ required_ruby_version: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ required_rubygems_version: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ version: '0'
80
+ requirements: []
81
+ rubyforge_project:
82
+ rubygems_version: 2.5.1
83
+ signing_key:
84
+ specification_version: 4
85
+ summary: MasterCard McOn SDK
86
+ test_files: []