mastercard_spendcontrols 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mastercard/api/spendcontrols/alertall.rb +8 -8
  3. data/lib/mastercard/api/spendcontrols/alerts.rb +8 -8
  4. data/lib/mastercard/api/spendcontrols/amount.rb +8 -8
  5. data/lib/mastercard/api/spendcontrols/amountdecline.rb +8 -8
  6. data/lib/mastercard/api/spendcontrols/batch.rb +5 -5
  7. data/lib/mastercard/api/spendcontrols/budgetalert.rb +5 -5
  8. data/lib/mastercard/api/spendcontrols/budgetalertwithbudgetid.rb +8 -8
  9. data/lib/mastercard/api/spendcontrols/budgetdecline.rb +5 -5
  10. data/lib/mastercard/api/spendcontrols/budgetdeclinewithbudgetid.rb +8 -8
  11. data/lib/mastercard/api/spendcontrols/card.rb +12 -12
  12. data/lib/mastercard/api/spendcontrols/channel.rb +8 -8
  13. data/lib/mastercard/api/spendcontrols/channeldecline.rb +8 -8
  14. data/lib/mastercard/api/spendcontrols/combinationctrlsalertresource.rb +5 -5
  15. data/lib/mastercard/api/spendcontrols/combinationctrlsalertresourcefilterid.rb +8 -8
  16. data/lib/mastercard/api/spendcontrols/combinationctrlsdeclineresource.rb +3 -3
  17. data/lib/mastercard/api/spendcontrols/combinationctrlsdeclineresourcefilterid.rb +8 -8
  18. data/lib/mastercard/api/spendcontrols/combinationctrlsdeclinesresource.rb +3 -3
  19. data/lib/mastercard/api/spendcontrols/controls.rb +8 -8
  20. data/lib/mastercard/api/spendcontrols/controlshistory.rb +3 -3
  21. data/lib/mastercard/api/spendcontrols/crossborder.rb +8 -8
  22. data/lib/mastercard/api/spendcontrols/crossborderdecline.rb +8 -8
  23. data/lib/mastercard/api/spendcontrols/declineall.rb +8 -8
  24. data/lib/mastercard/api/spendcontrols/declines.rb +8 -8
  25. data/lib/mastercard/api/spendcontrols/geolocationalert.rb +8 -8
  26. data/lib/mastercard/api/spendcontrols/geolocationdecline.rb +8 -8
  27. data/lib/mastercard/api/spendcontrols/merchantcategorycodealert.rb +8 -8
  28. data/lib/mastercard/api/spendcontrols/merchantcategorycodedecline.rb +8 -8
  29. data/lib/mastercard/api/spendcontrols/notification.rb +3 -3
  30. data/lib/mastercard/api/spendcontrols/resourceconfig.rb +7 -6
  31. data/lib/mastercard/api/spendcontrols/travelmarkeralert.rb +104 -0
  32. data/lib/mastercard/api/spendcontrols/travelmarkeralertwithtravelid.rb +160 -0
  33. data/lib/mastercard/api/spendcontrols/travelmarkerdecline.rb +104 -0
  34. data/lib/mastercard/api/spendcontrols/travelmarkerdeclinewithtravelid.rb +160 -0
  35. data/lib/mastercard/api/spendcontrols/txnhistory.rb +3 -3
  36. data/lib/mastercard/api/spendcontrols/verify.rb +3 -3
  37. data/lib/mastercard_spendcontrols.rb +4 -0
  38. metadata +6 -2
@@ -37,7 +37,7 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '9f5146e9-4556-4380-a52d-5079df3413ee' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/transactions", "query", [], ["from","to","pageNumber","pageSize"]),
40
+ 'f7b78769-5688-40b2-a785-f05dd2eb0a87' => OperationConfig.new("/issuer/spendcontrols/v1/card/{uuid}/transactions", "query", [], ["from","to","pageNumber","pageSize"]),
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("9f5146e9-4556-4380-a52d-5079df3413ee",Txnhistory.new(criteria))
73
+ return self.execute("f7b78769-5688-40b2-a785-f05dd2eb0a87",Txnhistory.new(criteria))
74
74
  end
75
75
 
76
76
 
@@ -37,7 +37,7 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '28fdba87-b812-41ed-a13a-a50c4e866969' => OperationConfig.new("/issuer/spendcontrols/v1/card/verify/{uuid}", "create", [], []),
40
+ '7c52fbe8-69e4-4b3b-b6a6-00ed58d3d6f8' => OperationConfig.new("/issuer/spendcontrols/v1/card/verify/{uuid}", "create", [], []),
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
@@ -64,7 +64,7 @@ module MasterCard
64
64
  #@param Dict mapObj, containing the required parameters to create a new object
65
65
  #@return [Verify] of the response of created instance.
66
66
  #@raise [APIException] an exception from the response status
67
- return self.execute("28fdba87-b812-41ed-a13a-a50c4e866969", Verify.new(mapObj))
67
+ return self.execute("7c52fbe8-69e4-4b3b-b6a6-00ed58d3d6f8", Verify.new(mapObj))
68
68
  end
69
69
 
70
70
 
@@ -30,5 +30,9 @@ require 'mastercard/api/spendcontrols/geolocationdecline'
30
30
  require 'mastercard/api/spendcontrols/merchantcategorycodealert'
31
31
  require 'mastercard/api/spendcontrols/merchantcategorycodedecline'
32
32
  require 'mastercard/api/spendcontrols/notification'
33
+ require 'mastercard/api/spendcontrols/travelmarkeralert'
34
+ require 'mastercard/api/spendcontrols/travelmarkeralertwithtravelid'
35
+ require 'mastercard/api/spendcontrols/travelmarkerdecline'
36
+ require 'mastercard/api/spendcontrols/travelmarkerdeclinewithtravelid'
33
37
  require 'mastercard/api/spendcontrols/txnhistory'
34
38
  require 'mastercard/api/spendcontrols/verify'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mastercard_spendcontrols
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
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-03 00:00:00.000000000 Z
11
+ date: 2018-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mastercard_api_core
@@ -80,6 +80,10 @@ files:
80
80
  - lib/mastercard/api/spendcontrols/merchantcategorycodedecline.rb
81
81
  - lib/mastercard/api/spendcontrols/notification.rb
82
82
  - lib/mastercard/api/spendcontrols/resourceconfig.rb
83
+ - lib/mastercard/api/spendcontrols/travelmarkeralert.rb
84
+ - lib/mastercard/api/spendcontrols/travelmarkeralertwithtravelid.rb
85
+ - lib/mastercard/api/spendcontrols/travelmarkerdecline.rb
86
+ - lib/mastercard/api/spendcontrols/travelmarkerdeclinewithtravelid.rb
83
87
  - lib/mastercard/api/spendcontrols/txnhistory.rb
84
88
  - lib/mastercard/api/spendcontrols/verify.rb
85
89
  - lib/mastercard_spendcontrols.rb