mastercard_currencyconversion 1.0.0 → 1.0.1
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: 3886858ca8437fe572b860080f0eb34feb209202
|
4
|
+
data.tar.gz: 6ae27898e5305778be8dd94bf39f393ec0440a4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c112f5081cd25d01fa99c1bc77e91eaedecf3825a38de842f8df9727b6c032eaabbf15268f4e27ca5ba1ce6d9ab97a06a103b85630ab4b8322606b7edf83e10
|
7
|
+
data.tar.gz: f1cd7c8e380674cb66a24c134d789c64e9edd6e74a0cee13c89f5c16bcbe74b6258791b7ce8cbdd3414b7d21c535786782cc5b6bf04bd0393962956560b4d4da
|
@@ -37,7 +37,7 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'73254f4f-b6ad-4f3b-b8ce-53c3eea4f0cc' => OperationConfig.new("/settlement/currencyrate/conversion-rate", "query", [], ["fxDate","transCurr","crdhldBillCurr","bankFee","transAmt"]),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
@@ -51,7 +51,7 @@ module MasterCard
|
|
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
|
@@ -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("73254f4f-b6ad-4f3b-b8ce-53c3eea4f0cc",ConversionRate.new(criteria))
|
74
74
|
end
|
75
75
|
|
76
76
|
|
@@ -37,7 +37,7 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'8c6d9dff-96ac-456b-91da-bbec5649a57b' => OperationConfig.new("/settlement/currencyrate/settlement-currencies", "query", [], []),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
@@ -51,7 +51,7 @@ module MasterCard
|
|
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
|
@@ -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("8c6d9dff-96ac-456b-91da-bbec5649a57b",Currencies.new(criteria))
|
74
74
|
end
|
75
75
|
|
76
76
|
|
@@ -37,7 +37,7 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'6aae349f-fd06-4542-81ef-d683f205d770' => OperationConfig.new("/settlement/currencyrate/conversion-rate-issued", "query", [], ["date"]),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
@@ -51,7 +51,7 @@ module MasterCard
|
|
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
|
@@ -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("6aae349f-fd06-4542-81ef-d683f205d770",RateIssued.new(criteria))
|
74
74
|
end
|
75
75
|
|
76
76
|
|
@@ -37,12 +37,9 @@ module MasterCard
|
|
37
37
|
@@instance = nil
|
38
38
|
|
39
39
|
def initialize
|
40
|
-
@name = "currency-conversion"
|
41
40
|
@override = nil
|
42
41
|
@host = nil
|
43
42
|
@context = nil
|
44
|
-
@version = "currency-conversion:1.0.0"
|
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 "currency-conversion"
|
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 "currency-conversion:1.0.1"
|
78
75
|
end
|
79
76
|
|
80
77
|
def getJsonNative
|
81
|
-
return
|
78
|
+
return true
|
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_currencyconversion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
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-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mastercard_api_core
|