mastercard_stpapisdk 0.0.2 → 1.0.0
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/stpapisdk/payment.rb +4 -4
- data/lib/mastercard/api/stpapisdk/payments.rb +2 -2
- data/lib/mastercard/api/stpapisdk/provider.rb +2 -2
- data/lib/mastercard/api/stpapisdk/providers.rb +2 -2
- data/lib/mastercard/api/stpapisdk/resourceconfig.rb +1 -1
- data/lib/mastercard/api/stpapisdk/supplier.rb +4 -4
- data/lib/mastercard/api/stpapisdk/suppliers.rb +2 -2
- 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: a69889203c1bc8c81c23982e2d71964beab16d7d
|
4
|
+
data.tar.gz: 6b75e78df77e51f2a67dcd9c1f4fb8c6075139a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: def357473d63abf7d37af99877607ef0e05fb796a63d4c9f34f4ec1c32c3088ea6a818609396692ac957119978552362e16454a1632ee72724304e8b2c184136
|
7
|
+
data.tar.gz: 0c15532f0345b8a403da49eab472d2282aa83de862fc5320f5f429370397c7fa397945062e7439703f8a499e5b70a59e04d87ae4b37e80da1aea842fb488762e
|
@@ -37,8 +37,8 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
40
|
+
'72aba162-a8b4-4f62-902a-62d155831da4' => OperationConfig.new("/stp-api/v1/payments/{id}", "read", [], []),
|
41
|
+
'a110060f-8fca-4a79-bdee-4770c966e423' => OperationConfig.new("/stp-api/v1/payments/{id}/status", "query", [], []),
|
42
42
|
|
43
43
|
}
|
44
44
|
|
@@ -82,7 +82,7 @@ module MasterCard
|
|
82
82
|
end
|
83
83
|
end
|
84
84
|
|
85
|
-
return self.execute("
|
85
|
+
return self.execute("72aba162-a8b4-4f62-902a-62d155831da4",Payment.new(mapObj))
|
86
86
|
end
|
87
87
|
|
88
88
|
|
@@ -100,7 +100,7 @@ module MasterCard
|
|
100
100
|
#@raise [APIException] an exception from the response status
|
101
101
|
#
|
102
102
|
|
103
|
-
return self.execute("
|
103
|
+
return self.execute("a110060f-8fca-4a79-bdee-4770c966e423",Payment.new(criteria))
|
104
104
|
end
|
105
105
|
|
106
106
|
|
@@ -37,7 +37,7 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'be203f33-f839-4a83-86f8-6c430d3e88b4' => OperationConfig.new("/stp-api/v1/payments", "create", [], []),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
@@ -64,7 +64,7 @@ module MasterCard
|
|
64
64
|
#@param Dict mapObj, containing the required parameters to create a new object
|
65
65
|
#@return [Payments] of the response of created instance.
|
66
66
|
#@raise [APIException] an exception from the response status
|
67
|
-
return self.execute("
|
67
|
+
return self.execute("be203f33-f839-4a83-86f8-6c430d3e88b4", Payments.new(mapObj))
|
68
68
|
end
|
69
69
|
|
70
70
|
|
@@ -37,7 +37,7 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'e95e0070-619c-45aa-b368-43e0860a3082' => OperationConfig.new("/stp-api/v1/providers/{id}", "read", [], []),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
@@ -81,7 +81,7 @@ module MasterCard
|
|
81
81
|
end
|
82
82
|
end
|
83
83
|
|
84
|
-
return self.execute("
|
84
|
+
return self.execute("e95e0070-619c-45aa-b368-43e0860a3082",Provider.new(mapObj))
|
85
85
|
end
|
86
86
|
|
87
87
|
|
@@ -37,7 +37,7 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'094cd2d0-a8c9-4527-8ef3-46e27ac7fcab' => OperationConfig.new("/stp-api/v1/providers", "query", [], []),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
@@ -70,7 +70,7 @@ module MasterCard
|
|
70
70
|
#@raise [APIException] an exception from the response status
|
71
71
|
#
|
72
72
|
|
73
|
-
return self.execute("
|
73
|
+
return self.execute("094cd2d0-a8c9-4527-8ef3-46e27ac7fcab",Providers.new(criteria))
|
74
74
|
end
|
75
75
|
|
76
76
|
|
@@ -37,8 +37,8 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
40
|
+
'807f78d2-0a64-4626-9a69-9270609ead90' => OperationConfig.new("/stp-api/v1/suppliers/{id}", "read", [], []),
|
41
|
+
'8118af73-5b74-4174-bd6f-5f5f0802f21c' => OperationConfig.new("/stp-api/v1/suppliers/{id}", "update", [], []),
|
42
42
|
|
43
43
|
}
|
44
44
|
|
@@ -82,7 +82,7 @@ module MasterCard
|
|
82
82
|
end
|
83
83
|
end
|
84
84
|
|
85
|
-
return self.execute("
|
85
|
+
return self.execute("807f78d2-0a64-4626-9a69-9270609ead90",Supplier.new(mapObj))
|
86
86
|
end
|
87
87
|
|
88
88
|
|
@@ -95,7 +95,7 @@ module MasterCard
|
|
95
95
|
#@return [Supplier] object representing the response.
|
96
96
|
#@raise [APIException] an exception from the response status
|
97
97
|
#
|
98
|
-
return self.class.execute("
|
98
|
+
return self.class.execute("8118af73-5b74-4174-bd6f-5f5f0802f21c",self)
|
99
99
|
end
|
100
100
|
|
101
101
|
|
@@ -37,7 +37,7 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'0cd986e7-894a-40bf-830e-81dc05286d9e' => OperationConfig.new("/stp-api/v1/suppliers", "create", [], []),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
@@ -64,7 +64,7 @@ module MasterCard
|
|
64
64
|
#@param Dict mapObj, containing the required parameters to create a new object
|
65
65
|
#@return [Suppliers] of the response of created instance.
|
66
66
|
#@raise [APIException] an exception from the response status
|
67
|
-
return self.execute("
|
67
|
+
return self.execute("0cd986e7-894a-40bf-830e-81dc05286d9e", Suppliers.new(mapObj))
|
68
68
|
end
|
69
69
|
|
70
70
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mastercard_stpapisdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
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-03-
|
11
|
+
date: 2018-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mastercard_api_core
|