mastercard_p2p 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,52 +27,56 @@
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 P2p
34
- class SanctionScreening < MasterCard::Core::Model::BaseObject
35
- include MasterCard::Core::Model
36
- #
33
+ module API
34
+ module P2p
35
+ class SanctionScreening < MasterCard::Core::Model::BaseObject
36
+ include MasterCard::Core::Model
37
+ #
37
38
 
38
- @__store = {
39
- '1fb90a76-567d-4f80-9716-0d6121a6d2ba' => OperationConfig.new("/send/v1/partners/{partnerId}/consumers/sanction_screening", "update", [], []),
40
-
41
- }
39
+ @__store = {
40
+ 'bffec722-fbb9-4d5a-b439-e4b145e48c6d' => OperationConfig.new("/send/v1/partners/{partnerId}/consumers/sanction_screening", "update", [], []),
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
59
 
59
- def read
60
- #
61
- #Updates an object of type SanctionScreening
62
- #
63
- #@return SanctionScreening object representing the response.
64
- #
65
- return self.class.execute("1fb90a76-567d-4f80-9716-0d6121a6d2ba",self)
66
- end
67
60
 
61
+ def read
62
+ #
63
+ #Updates an object of type SanctionScreening
64
+ #
65
+ #@return [SanctionScreening] object representing the response.
66
+ #@raise [APIException] an exception from the response status
67
+ #
68
+ return self.class.execute("bffec722-fbb9-4d5a-b439-e4b145e48c6d",self)
69
+ end
68
70
 
69
71
 
70
72
 
71
73
 
72
74
 
73
- end
74
- end
75
- end
75
+
76
+
77
+ end
78
+ end
79
+ end
76
80
  end
77
81
 
78
82
 
@@ -1,10 +1,12 @@
1
1
  require 'mastercard_api_core'
2
- require 'mastercard/api/p2p/skdconfig'
3
- require 'mastercard/api/p2p/consumergovernmentid'
4
- require 'mastercard/api/p2p/consumeraccount'
5
- require 'mastercard/api/p2p/consumer'
6
- require 'mastercard/api/p2p/sanctionscreening'
7
- require 'mastercard/api/p2p/paymenttransfer'
2
+
3
+ require 'mastercard/api/p2p/resourceconfig'
4
+
8
5
  require 'mastercard/api/p2p/accountinfo'
9
- require 'mastercard/api/p2p/consumercontactid'
10
6
  require 'mastercard/api/p2p/accountverification'
7
+ require 'mastercard/api/p2p/consumer'
8
+ require 'mastercard/api/p2p/consumeraccount'
9
+ require 'mastercard/api/p2p/consumercontactid'
10
+ require 'mastercard/api/p2p/consumergovernmentid'
11
+ require 'mastercard/api/p2p/paymenttransfer'
12
+ require 'mastercard/api/p2p/sanctionscreening'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mastercard_p2p
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.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: 2016-11-15 00:00:00.000000000 Z
11
+ date: 2017-02-06 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
@@ -58,8 +58,8 @@ files:
58
58
  - lib/mastercard/api/p2p/consumercontactid.rb
59
59
  - lib/mastercard/api/p2p/consumergovernmentid.rb
60
60
  - lib/mastercard/api/p2p/paymenttransfer.rb
61
+ - lib/mastercard/api/p2p/resourceconfig.rb
61
62
  - lib/mastercard/api/p2p/sanctionscreening.rb
62
- - lib/mastercard/api/p2p/skdconfig.rb
63
63
  - lib/mastercard_p2p.rb
64
64
  homepage: https://developer.mastercard.com
65
65
  licenses: