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: ae4042d717f41cce237d3ba9d45bbc6027d20e7d
4
- data.tar.gz: 71fdc858bddf8fa162201c42346e57c95168a910
3
+ metadata.gz: 3886858ca8437fe572b860080f0eb34feb209202
4
+ data.tar.gz: 6ae27898e5305778be8dd94bf39f393ec0440a4e
5
5
  SHA512:
6
- metadata.gz: 045f53bb0accc4f28649d0fb222fbebb9bc071c14272f350f252ce7952d54f7240896f494831cdb42948abc3e18fd6b0ca816099171a71444ef34160d27b92f9
7
- data.tar.gz: f3cc59e8a3ee913fd75dedb3a907305fa1fee59d675ba4d836f89c2f25f52f85ac20fff4351fecb65e2dbd517d4a85ea1fac43cff16833c995b8dae99f395e87
6
+ metadata.gz: 1c112f5081cd25d01fa99c1bc77e91eaedecf3825a38de842f8df9727b6c032eaabbf15268f4e27ca5ba1ce6d9ab97a06a103b85630ab4b8322606b7edf83e10
7
+ data.tar.gz: f1cd7c8e380674cb66a24c134d789c64e9edd6e74a0cee13c89f5c16bcbe74b6258791b7ce8cbdd3414b7d21c535786782cc5b6bf04bd0393962956560b4d4da
@@ -37,7 +37,7 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- 'ad7574d1-f21a-41db-9b3a-854fed685c54' => OperationConfig.new("/settlement/currencyrate/conversion-rate", "query", [], ["fxDate","transCurr","crdhldBillCurr","bankFee","transAmt"]),
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("ad7574d1-f21a-41db-9b3a-854fed685c54",ConversionRate.new(criteria))
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
- 'df7fc6bc-f394-458a-ad57-fdbc13e05df2' => OperationConfig.new("/settlement/currencyrate/settlement-currencies", "query", [], []),
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("df7fc6bc-f394-458a-ad57-fdbc13e05df2",Currencies.new(criteria))
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
- '73f8846b-86e4-4d5b-ba8c-4d9459b1707a' => OperationConfig.new("/settlement/currencyrate/conversion-rate-issued", "query", [], ["date"]),
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("73f8846b-86e4-4d5b-ba8c-4d9459b1707a",RateIssued.new(criteria))
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 @name
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 @version
74
+ return "currency-conversion:1.0.1"
78
75
  end
79
76
 
80
77
  def getJsonNative
81
- return @jsonNative
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.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: 2017-11-06 00:00:00.000000000 Z
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