mastercard_blockchainb2bxb 0.0.1 → 0.0.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9bd977ea1ba8081511c5a880d0cc9694c8320e00
|
4
|
+
data.tar.gz: 42e475245c5b6f8e7c15af816d5645006c2c2466
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b9c24e230679463263e8abc99dd24a98304b254c51f53c346a9e9189d8cc7f2055f8cb842e569ae1fa6322b5e26f6c2a9377eb7359917a25eb965ed46790964
|
7
|
+
data.tar.gz: c8361f5950a519f4c1122b86dd9618d76ed1caa4483782f90201571c52e73144044f5911394003bddac6579518abd39c7a495c1d5fb0cec792211d0452e20058
|
@@ -37,21 +37,21 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'8933e6eb-900b-4c84-bcd7-6ec2fd66085e' => OperationConfig.new("/labs/proxy/blockchain/b2bxb/api/v1/claims", "create", [], []),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
44
44
|
protected
|
45
45
|
|
46
|
-
def self.getOperationConfig(
|
47
|
-
if @__store.key?(
|
48
|
-
return @__store[
|
46
|
+
def self.getOperationConfig(operationUUID)
|
47
|
+
if @__store.key?(operationUUID)
|
48
|
+
return @__store[operationUUID]
|
49
49
|
end
|
50
|
-
raise NotImplementedError.new("Invalid operationUUID supplied:"+
|
50
|
+
raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
|
51
51
|
end
|
52
52
|
|
53
53
|
def self.getOperationMetadata()
|
54
|
-
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
|
54
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
|
55
55
|
end
|
56
56
|
|
57
57
|
public
|
@@ -64,7 +64,7 @@ module MasterCard
|
|
64
64
|
#@param Dict mapObj, containing the required parameters to create a new object
|
65
65
|
#@return [Claims] of the response of created instance.
|
66
66
|
#@raise [APIException] an exception from the response status
|
67
|
-
return self.execute("
|
67
|
+
return self.execute("8933e6eb-900b-4c84-bcd7-6ec2fd66085e", Claims.new(mapObj))
|
68
68
|
end
|
69
69
|
|
70
70
|
|
@@ -37,22 +37,22 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
40
|
+
'646efc1b-16ef-4bf4-ae40-8dc9440e5ad2' => OperationConfig.new("/labs/proxy/blockchain/b2bxb/api/v1/fx", "list", [], []),
|
41
|
+
'14e0bcba-ab18-4e46-bad8-7451f3d84968' => OperationConfig.new("/labs/proxy/blockchain/b2bxb/api/v1/fx/{id}", "read", [], []),
|
42
42
|
|
43
43
|
}
|
44
44
|
|
45
45
|
protected
|
46
46
|
|
47
|
-
def self.getOperationConfig(
|
48
|
-
if @__store.key?(
|
49
|
-
return @__store[
|
47
|
+
def self.getOperationConfig(operationUUID)
|
48
|
+
if @__store.key?(operationUUID)
|
49
|
+
return @__store[operationUUID]
|
50
50
|
end
|
51
|
-
raise NotImplementedError.new("Invalid operationUUID supplied:"+
|
51
|
+
raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
|
52
52
|
end
|
53
53
|
|
54
54
|
def self.getOperationMetadata()
|
55
|
-
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
|
55
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
|
56
56
|
end
|
57
57
|
|
58
58
|
public
|
@@ -69,9 +69,9 @@ module MasterCard
|
|
69
69
|
#@raise [APIException] an exception from the response status
|
70
70
|
|
71
71
|
if criteria.nil?
|
72
|
-
return self.execute("
|
72
|
+
return self.execute("646efc1b-16ef-4bf4-ae40-8dc9440e5ad2",FX.new)
|
73
73
|
else
|
74
|
-
return self.execute("
|
74
|
+
return self.execute("646efc1b-16ef-4bf4-ae40-8dc9440e5ad2",FX.new(criteria))
|
75
75
|
end
|
76
76
|
end
|
77
77
|
|
@@ -102,7 +102,7 @@ module MasterCard
|
|
102
102
|
end
|
103
103
|
end
|
104
104
|
|
105
|
-
return self.execute("
|
105
|
+
return self.execute("14e0bcba-ab18-4e46-bad8-7451f3d84968",FX.new(mapObj))
|
106
106
|
end
|
107
107
|
|
108
108
|
|
@@ -37,23 +37,23 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
42
|
-
'
|
40
|
+
'afc1f961-8125-47a2-a127-f8e5f41a573d' => OperationConfig.new("/labs/proxy/blockchain/b2bxb/api/v1/payments", "list", [], ["status"]),
|
41
|
+
'f7f58bbb-9d16-4359-bba8-07ac3f5aa86d' => OperationConfig.new("/labs/proxy/blockchain/b2bxb/api/v1/payments", "create", [], []),
|
42
|
+
'a17f190f-360b-47f7-a5f2-accbb7a6c661' => OperationConfig.new("/labs/proxy/blockchain/b2bxb/api/v1/payments/{reference}", "read", [], []),
|
43
43
|
|
44
44
|
}
|
45
45
|
|
46
46
|
protected
|
47
47
|
|
48
|
-
def self.getOperationConfig(
|
49
|
-
if @__store.key?(
|
50
|
-
return @__store[
|
48
|
+
def self.getOperationConfig(operationUUID)
|
49
|
+
if @__store.key?(operationUUID)
|
50
|
+
return @__store[operationUUID]
|
51
51
|
end
|
52
|
-
raise NotImplementedError.new("Invalid operationUUID supplied:"+
|
52
|
+
raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
|
53
53
|
end
|
54
54
|
|
55
55
|
def self.getOperationMetadata()
|
56
|
-
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
|
56
|
+
return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride())
|
57
57
|
end
|
58
58
|
|
59
59
|
public
|
@@ -70,9 +70,9 @@ module MasterCard
|
|
70
70
|
#@raise [APIException] an exception from the response status
|
71
71
|
|
72
72
|
if criteria.nil?
|
73
|
-
return self.execute("
|
73
|
+
return self.execute("afc1f961-8125-47a2-a127-f8e5f41a573d",Payments.new)
|
74
74
|
else
|
75
|
-
return self.execute("
|
75
|
+
return self.execute("afc1f961-8125-47a2-a127-f8e5f41a573d",Payments.new(criteria))
|
76
76
|
end
|
77
77
|
end
|
78
78
|
|
@@ -86,7 +86,7 @@ module MasterCard
|
|
86
86
|
#@param Dict mapObj, containing the required parameters to create a new object
|
87
87
|
#@return [Payments] of the response of created instance.
|
88
88
|
#@raise [APIException] an exception from the response status
|
89
|
-
return self.execute("
|
89
|
+
return self.execute("f7f58bbb-9d16-4359-bba8-07ac3f5aa86d", Payments.new(mapObj))
|
90
90
|
end
|
91
91
|
|
92
92
|
|
@@ -119,7 +119,7 @@ module MasterCard
|
|
119
119
|
end
|
120
120
|
end
|
121
121
|
|
122
|
-
return self.execute("
|
122
|
+
return self.execute("a17f190f-360b-47f7-a5f2-accbb7a6c661",Payments.new(mapObj))
|
123
123
|
end
|
124
124
|
|
125
125
|
|
@@ -37,12 +37,9 @@ module MasterCard
|
|
37
37
|
@@instance = nil
|
38
38
|
|
39
39
|
def initialize
|
40
|
-
@name = "blockchain-b2bxb"
|
41
40
|
@override = nil
|
42
41
|
@host = nil
|
43
42
|
@context = nil
|
44
|
-
@version = "blockchain-b2bxb:0.0.1"
|
45
|
-
@jsonNative = false
|
46
43
|
|
47
44
|
Config.registerResourceConfig(self)
|
48
45
|
currentEnvironment = Config.getEnvironment()
|
@@ -57,7 +54,7 @@ module MasterCard
|
|
57
54
|
|
58
55
|
|
59
56
|
def getName
|
60
|
-
return
|
57
|
+
return "blockchain-b2bxb"
|
61
58
|
end
|
62
59
|
|
63
60
|
|
@@ -74,11 +71,15 @@ module MasterCard
|
|
74
71
|
end
|
75
72
|
|
76
73
|
def getVersion
|
77
|
-
return
|
74
|
+
return "blockchain-b2bxb:0.0.2"
|
78
75
|
end
|
79
76
|
|
80
77
|
def getJsonNative
|
81
|
-
return
|
78
|
+
return false
|
79
|
+
end
|
80
|
+
|
81
|
+
def getContentTypeOverride
|
82
|
+
return nil
|
82
83
|
end
|
83
84
|
|
84
85
|
def setEnvironment(environmet)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mastercard_blockchainb2bxb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.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:
|
11
|
+
date: 2018-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mastercard_api_core
|