mastercard_vending 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: dfdf1e7c2300f10c9bf3614ac67bf0d9c174760f
4
- data.tar.gz: bed492156f4a3c01c29e65be28f7b10342aa609b
3
+ metadata.gz: f9a515a5c85dffdc7a1b498aa05c2614d2bd88ff
4
+ data.tar.gz: c8c9e265c6fcd100a17b78b55bad402f2fd26572
5
5
  SHA512:
6
- metadata.gz: 37c0c575c3f56b7b321a9fdeea54d3609256412308dcab71a894f706504a70c8c66e2afbd8fc87fadd3d49541cda89fa50fce601e51f449088bef90f4e8e3126
7
- data.tar.gz: e3114b2b2c12b6f12fdb01e8ed1eeebd967e132254954133be33c6693520eaab707e2980fba6ba7b94e1c445148871b0f27a91997d988f57d79147a97386c792
6
+ metadata.gz: 94e9b2794040a3f4297acdd3c46f49f15696f6725eb99978995fcf6fb473a3b64ca9eb3032a1dd56144fe9b3a451448e589df75c2d8d0202c4eda1b61630920a
7
+ data.tar.gz: 3944ffc6c37df6223f7cd33eab352bd7190f568ad6e37219208e23f10f15dac559c0d658ecdfa24f36c42081ba6b21fbd6ecba7d78b40327e9b6c18c0d13ee46
@@ -36,8 +36,8 @@ module MasterCard
36
36
  #
37
37
 
38
38
  @__store = {
39
- 'd9bddc17-ac45-4964-b983-dfeb359b9a87' => OperationConfig.new("/mtf/labs/proxy/vending/v1/approval", "create", [], []),
40
- '3d1ec5bd-5416-453f-b1dd-db27686b1070' => OperationConfig.new("/mtf/labs/proxy/vending/v1/approval/{id}", "update", [], []),
39
+ '4e99f333-c39b-42a7-b5cb-4e166d631674' => OperationConfig.new("/vending-sandbox-api/api/v1/approval", "create", [], []),
40
+ '3037cbcf-702b-4fb9-adaa-3642da7c379d' => OperationConfig.new("/vending-sandbox-api/api/v1/approval/{id}", "update", [], []),
41
41
 
42
42
  }
43
43
 
@@ -63,7 +63,7 @@ module MasterCard
63
63
  #@param Dict mapObj, containing the required parameters to create a new object
64
64
  #@return Approval of the response of created instance.
65
65
  #
66
- return self.execute("d9bddc17-ac45-4964-b983-dfeb359b9a87", Approval.new(mapObj))
66
+ return self.execute("4e99f333-c39b-42a7-b5cb-4e166d631674", Approval.new(mapObj))
67
67
  end
68
68
 
69
69
 
@@ -78,7 +78,7 @@ module MasterCard
78
78
  #
79
79
  #@return Approval object representing the response.
80
80
  #
81
- return self.class.execute("3d1ec5bd-5416-453f-b1dd-db27686b1070",self)
81
+ return self.class.execute("3037cbcf-702b-4fb9-adaa-3642da7c379d",self)
82
82
  end
83
83
 
84
84
 
@@ -36,7 +36,7 @@ module MasterCard
36
36
  #
37
37
 
38
38
  @__store = {
39
- '211e8456-65f7-442b-a00a-28f730aa6a9f' => OperationConfig.new("/mtf/labs/proxy/vending/v1/machine/nearby", "list", [], ["latitude","longitude"]),
39
+ 'bd154914-a734-44a3-9791-65f0633a4af7' => OperationConfig.new("/vending-sandbox-api/api/v1/machine/nearby", "list", [], ["latitude","longitude"]),
40
40
 
41
41
  }
42
42
 
@@ -65,9 +65,9 @@ module MasterCard
65
65
  #@return Array of Machine object matching the criteria.
66
66
 
67
67
  if criteria.nil?
68
- return self.execute("211e8456-65f7-442b-a00a-28f730aa6a9f",Machine.new)
68
+ return self.execute("bd154914-a734-44a3-9791-65f0633a4af7",Machine.new)
69
69
  else
70
- return self.execute("211e8456-65f7-442b-a00a-28f730aa6a9f",Machine.new(criteria))
70
+ return self.execute("bd154914-a734-44a3-9791-65f0633a4af7",Machine.new(criteria))
71
71
  end
72
72
  end
73
73
 
@@ -30,7 +30,7 @@ module MasterCard
30
30
  class SDKConfig
31
31
 
32
32
  private
33
- @@host = nil
33
+ @@host = "https://www.mastercardlabs.com"
34
34
 
35
35
  public
36
36
  def self.setHost(host)
@@ -42,7 +42,7 @@ module MasterCard
42
42
  end
43
43
 
44
44
  def self.getVersion()
45
- return "1.0.0"
45
+ return "1.0.1"
46
46
  end
47
47
  end
48
48
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mastercard_vending
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: 2016-10-21 00:00:00.000000000 Z
11
+ date: 2016-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mastercard_api_core