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: 50c52bc305ec329a427631b333442f218f0c561b
4
- data.tar.gz: 62858dbf9fac5d67beab75d07c87854b64d5c9c0
3
+ metadata.gz: 9bd977ea1ba8081511c5a880d0cc9694c8320e00
4
+ data.tar.gz: 42e475245c5b6f8e7c15af816d5645006c2c2466
5
5
  SHA512:
6
- metadata.gz: 0acd790e28d0d4b86e7006e8282b7528f914000b282d573bcabc02f301d7620157ed554513be55fb361ee9fb53e0cc06e824679375be4d3e09e7ac9b89c21e64
7
- data.tar.gz: 04e80b137a29517f56638a276e66844a9d22e3d508ca79536fb403e74ac1986bbe597bd47244b1f483981f6c712d4637ba30b15bc2cfca4ec29556a656a54a2c
6
+ metadata.gz: 3b9c24e230679463263e8abc99dd24a98304b254c51f53c346a9e9189d8cc7f2055f8cb842e569ae1fa6322b5e26f6c2a9377eb7359917a25eb965ed46790964
7
+ data.tar.gz: c8361f5950a519f4c1122b86dd9618d76ed1caa4483782f90201571c52e73144044f5911394003bddac6579518abd39c7a495c1d5fb0cec792211d0452e20058
@@ -37,21 +37,21 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '65af2a46-9237-4751-9f8f-6a1a63fb63a9' => OperationConfig.new("/labs/proxy/blockchain/b2bxb/api/v1/claims", "create", [], []),
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(uuid)
47
- if @__store.key?(uuid)
48
- return @__store[uuid]
46
+ def self.getOperationConfig(operationUUID)
47
+ if @__store.key?(operationUUID)
48
+ return @__store[operationUUID]
49
49
  end
50
- raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
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("65af2a46-9237-4751-9f8f-6a1a63fb63a9", Claims.new(mapObj))
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
- '20d25fe5-31bb-4ffb-b095-f33185db3969' => OperationConfig.new("/labs/proxy/blockchain/b2bxb/api/v1/fx", "list", [], []),
41
- '3c685e1d-844b-475f-8277-0d0471b76133' => OperationConfig.new("/labs/proxy/blockchain/b2bxb/api/v1/fx/{id}", "read", [], []),
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(uuid)
48
- if @__store.key?(uuid)
49
- return @__store[uuid]
47
+ def self.getOperationConfig(operationUUID)
48
+ if @__store.key?(operationUUID)
49
+ return @__store[operationUUID]
50
50
  end
51
- raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
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("20d25fe5-31bb-4ffb-b095-f33185db3969",FX.new)
72
+ return self.execute("646efc1b-16ef-4bf4-ae40-8dc9440e5ad2",FX.new)
73
73
  else
74
- return self.execute("20d25fe5-31bb-4ffb-b095-f33185db3969",FX.new(criteria))
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("3c685e1d-844b-475f-8277-0d0471b76133",FX.new(mapObj))
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
- '15c64161-55c7-4a0f-9d8a-4cb456c9b3a1' => OperationConfig.new("/labs/proxy/blockchain/b2bxb/api/v1/payments", "list", [], ["status"]),
41
- 'df1eeeb3-c824-4bce-ba16-876fac38742e' => OperationConfig.new("/labs/proxy/blockchain/b2bxb/api/v1/payments", "create", [], []),
42
- '97693c79-55c5-4cba-85a4-1244c5f4536a' => OperationConfig.new("/labs/proxy/blockchain/b2bxb/api/v1/payments/{reference}", "read", [], []),
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(uuid)
49
- if @__store.key?(uuid)
50
- return @__store[uuid]
48
+ def self.getOperationConfig(operationUUID)
49
+ if @__store.key?(operationUUID)
50
+ return @__store[operationUUID]
51
51
  end
52
- raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
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("15c64161-55c7-4a0f-9d8a-4cb456c9b3a1",Payments.new)
73
+ return self.execute("afc1f961-8125-47a2-a127-f8e5f41a573d",Payments.new)
74
74
  else
75
- return self.execute("15c64161-55c7-4a0f-9d8a-4cb456c9b3a1",Payments.new(criteria))
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("df1eeeb3-c824-4bce-ba16-876fac38742e", Payments.new(mapObj))
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("97693c79-55c5-4cba-85a4-1244c5f4536a",Payments.new(mapObj))
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 @name
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 @version
74
+ return "blockchain-b2bxb:0.0.2"
78
75
  end
79
76
 
80
77
  def getJsonNative
81
- return @jsonNative
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.1
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: 2017-09-06 00:00:00.000000000 Z
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