mastercard_mdescustomerservice 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,52 +27,55 @@
27
27
 
28
28
 
29
29
  require "mastercard/core/model"
30
+ require "mastercard/core/baseobject"
30
31
 
31
32
  module MasterCard
32
- module API
33
- module MdesCustomerService
34
- class TokenUnsuspend < MasterCard::Core::Model::BaseObject
35
- include MasterCard::Core::Model
36
- #
33
+ module API
34
+ module MdesCustomerService
35
+ class TokenUnsuspend < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
37
38
 
38
- @__store = {
39
- 'dfb16735-6bf2-44bc-abd8-bef441ee055c' => OperationConfig.new("/mdes/csapi/v2/token/unsuspend", "create", [], []),
40
-
41
- }
39
+ @__store = {
40
+ '20d41621-909f-462c-b363-457821508562' => OperationConfig.new("/mdes/csapi/v2/token/unsuspend", "create", [], []),
41
+
42
+ }
42
43
 
43
- protected
44
+ protected
44
45
 
45
- def self.getOperationConfig(uuid)
46
- if @__store.key?(uuid)
47
- return @__store[uuid]
48
- end
49
- raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
50
- end
46
+ def self.getOperationConfig(uuid)
47
+ if @__store.key?(uuid)
48
+ return @__store[uuid]
49
+ end
50
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
51
+ end
51
52
 
52
- def self.getOperationMetadata()
53
- return OperationMetadata.new(SDKConfig.getVersion(), SDKConfig.getHost())
54
- end
53
+ def self.getOperationMetadata()
54
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
55
+ end
55
56
 
56
- public
57
+ public
57
58
 
58
- def self.create(mapObj)
59
- #
60
- #Creates object of type TokenUnsuspend
61
- #
62
- #@param Dict mapObj, containing the required parameters to create a new object
63
- #@return TokenUnsuspend of the response of created instance.
64
- #
65
- return self.execute("dfb16735-6bf2-44bc-abd8-bef441ee055c", TokenUnsuspend.new(mapObj))
66
- end
67
59
 
60
+ def self.create(mapObj)
61
+ #
62
+ #Creates object of type TokenUnsuspend
63
+ #
64
+ #@param Dict mapObj, containing the required parameters to create a new object
65
+ #@return [TokenUnsuspend] of the response of created instance.
66
+ #@raise [APIException] an exception from the response status
67
+ return self.execute("20d41621-909f-462c-b363-457821508562", TokenUnsuspend.new(mapObj))
68
+ end
68
69
 
69
70
 
70
71
 
71
72
 
72
73
 
73
- end
74
- end
75
- end
74
+
75
+
76
+ end
77
+ end
78
+ end
76
79
  end
77
80
 
78
81
 
@@ -27,52 +27,55 @@
27
27
 
28
28
 
29
29
  require "mastercard/core/model"
30
+ require "mastercard/core/baseobject"
30
31
 
31
32
  module MasterCard
32
- module API
33
- module MdesCustomerService
34
- class TokenUpdate < MasterCard::Core::Model::BaseObject
35
- include MasterCard::Core::Model
36
- #
33
+ module API
34
+ module MdesCustomerService
35
+ class TokenUpdate < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
37
38
 
38
- @__store = {
39
- '92269dce-7648-43ef-bb47-49d932f5ed51' => OperationConfig.new("/mdes/csapi/v2/token/update", "create", [], []),
40
-
41
- }
39
+ @__store = {
40
+ 'c3d129dc-0376-4830-8e1e-92d516a8d019' => OperationConfig.new("/mdes/csapi/v2/token/update", "create", [], []),
41
+
42
+ }
42
43
 
43
- protected
44
+ protected
44
45
 
45
- def self.getOperationConfig(uuid)
46
- if @__store.key?(uuid)
47
- return @__store[uuid]
48
- end
49
- raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
50
- end
46
+ def self.getOperationConfig(uuid)
47
+ if @__store.key?(uuid)
48
+ return @__store[uuid]
49
+ end
50
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
51
+ end
51
52
 
52
- def self.getOperationMetadata()
53
- return OperationMetadata.new(SDKConfig.getVersion(), SDKConfig.getHost())
54
- end
53
+ def self.getOperationMetadata()
54
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
55
+ end
55
56
 
56
- public
57
+ public
57
58
 
58
- def self.create(mapObj)
59
- #
60
- #Creates object of type TokenUpdate
61
- #
62
- #@param Dict mapObj, containing the required parameters to create a new object
63
- #@return TokenUpdate of the response of created instance.
64
- #
65
- return self.execute("92269dce-7648-43ef-bb47-49d932f5ed51", TokenUpdate.new(mapObj))
66
- end
67
59
 
60
+ def self.create(mapObj)
61
+ #
62
+ #Creates object of type TokenUpdate
63
+ #
64
+ #@param Dict mapObj, containing the required parameters to create a new object
65
+ #@return [TokenUpdate] of the response of created instance.
66
+ #@raise [APIException] an exception from the response status
67
+ return self.execute("c3d129dc-0376-4830-8e1e-92d516a8d019", TokenUpdate.new(mapObj))
68
+ end
68
69
 
69
70
 
70
71
 
71
72
 
72
73
 
73
- end
74
- end
75
- end
74
+
75
+
76
+ end
77
+ end
78
+ end
76
79
  end
77
80
 
78
81
 
@@ -27,52 +27,55 @@
27
27
 
28
28
 
29
29
  require "mastercard/core/model"
30
+ require "mastercard/core/baseobject"
30
31
 
31
32
  module MasterCard
32
- module API
33
- module MdesCustomerService
34
- class Transactions < MasterCard::Core::Model::BaseObject
35
- include MasterCard::Core::Model
36
- #
33
+ module API
34
+ module MdesCustomerService
35
+ class Transactions < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
37
38
 
38
- @__store = {
39
- '8533f67e-fab6-4a26-9a92-a2e2bd81aacb' => OperationConfig.new("/mdes/csapi/v2/transactions", "create", [], []),
40
-
41
- }
39
+ @__store = {
40
+ 'e6071941-64c8-4889-ba86-2178b56ab787' => OperationConfig.new("/mdes/csapi/v2/transactions", "create", [], []),
41
+
42
+ }
42
43
 
43
- protected
44
+ protected
44
45
 
45
- def self.getOperationConfig(uuid)
46
- if @__store.key?(uuid)
47
- return @__store[uuid]
48
- end
49
- raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
50
- end
46
+ def self.getOperationConfig(uuid)
47
+ if @__store.key?(uuid)
48
+ return @__store[uuid]
49
+ end
50
+ raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid)
51
+ end
51
52
 
52
- def self.getOperationMetadata()
53
- return OperationMetadata.new(SDKConfig.getVersion(), SDKConfig.getHost())
54
- end
53
+ def self.getOperationMetadata()
54
+ return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext())
55
+ end
55
56
 
56
- public
57
+ public
57
58
 
58
- def self.create(mapObj)
59
- #
60
- #Creates object of type Transactions
61
- #
62
- #@param Dict mapObj, containing the required parameters to create a new object
63
- #@return Transactions of the response of created instance.
64
- #
65
- return self.execute("8533f67e-fab6-4a26-9a92-a2e2bd81aacb", Transactions.new(mapObj))
66
- end
67
59
 
60
+ def self.create(mapObj)
61
+ #
62
+ #Creates object of type Transactions
63
+ #
64
+ #@param Dict mapObj, containing the required parameters to create a new object
65
+ #@return [Transactions] of the response of created instance.
66
+ #@raise [APIException] an exception from the response status
67
+ return self.execute("e6071941-64c8-4889-ba86-2178b56ab787", Transactions.new(mapObj))
68
+ end
68
69
 
69
70
 
70
71
 
71
72
 
72
73
 
73
- end
74
- end
75
- end
74
+
75
+
76
+ end
77
+ end
78
+ end
76
79
  end
77
80
 
78
81
 
@@ -1,15 +1,17 @@
1
1
  require 'mastercard_api_core'
2
+
3
+ require 'mastercard/api/mdescustomerservice/resourceconfig'
4
+
2
5
  require 'mastercard/api/mdescustomerservice/search'
3
- require 'mastercard/api/mdescustomerservice/skdconfig'
4
- require 'mastercard/api/mdescustomerservice/tokensuspend'
5
- require 'mastercard/api/mdescustomerservice/tokenresetmobilepin'
6
- require 'mastercard/api/mdescustomerservice/tokenunsuspend'
7
- require 'mastercard/api/mdescustomerservice/tokenactivationmethods'
8
- require 'mastercard/api/mdescustomerservice/transactions'
9
- require 'mastercard/api/mdescustomerservice/tokenstatushistory'
6
+ require 'mastercard/api/mdescustomerservice/systemstatus'
10
7
  require 'mastercard/api/mdescustomerservice/tokenactivate'
11
- require 'mastercard/api/mdescustomerservice/tokenresendactivationcode'
12
- require 'mastercard/api/mdescustomerservice/tokenupdate'
8
+ require 'mastercard/api/mdescustomerservice/tokenactivationmethods'
13
9
  require 'mastercard/api/mdescustomerservice/tokencomments'
14
10
  require 'mastercard/api/mdescustomerservice/tokendelete'
15
- require 'mastercard/api/mdescustomerservice/systemstatus'
11
+ require 'mastercard/api/mdescustomerservice/tokenresendactivationcode'
12
+ require 'mastercard/api/mdescustomerservice/tokenresetmobilepin'
13
+ require 'mastercard/api/mdescustomerservice/tokenstatushistory'
14
+ require 'mastercard/api/mdescustomerservice/tokensuspend'
15
+ require 'mastercard/api/mdescustomerservice/tokenunsuspend'
16
+ require 'mastercard/api/mdescustomerservice/tokenupdate'
17
+ require 'mastercard/api/mdescustomerservice/transactions'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mastercard_mdescustomerservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - MasterCard Worldwide
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-10 00:00:00.000000000 Z
11
+ date: 2017-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mastercard_api_core
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.2.0
19
+ version: 1.4.0
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 1.2.0
22
+ version: 1.4.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: 1.2.0
29
+ version: 1.4.0
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 1.2.0
32
+ version: 1.4.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: ci_reporter_minitest
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -51,8 +51,8 @@ executables: []
51
51
  extensions: []
52
52
  extra_rdoc_files: []
53
53
  files:
54
+ - lib/mastercard/api/mdescustomerservice/resourceconfig.rb
54
55
  - lib/mastercard/api/mdescustomerservice/search.rb
55
- - lib/mastercard/api/mdescustomerservice/skdconfig.rb
56
56
  - lib/mastercard/api/mdescustomerservice/systemstatus.rb
57
57
  - lib/mastercard/api/mdescustomerservice/tokenactivate.rb
58
58
  - lib/mastercard/api/mdescustomerservice/tokenactivationmethods.rb