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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9a515a5c85dffdc7a1b498aa05c2614d2bd88ff
|
4
|
+
data.tar.gz: c8c9e265c6fcd100a17b78b55bad402f2fd26572
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94e9b2794040a3f4297acdd3c46f49f15696f6725eb99978995fcf6fb473a3b64ca9eb3032a1dd56144fe9b3a451448e589df75c2d8d0202c4eda1b61630920a
|
7
|
+
data.tar.gz: 3944ffc6c37df6223f7cd33eab352bd7190f568ad6e37219208e23f10f15dac559c0d658ecdfa24f36c42081ba6b21fbd6ecba7d78b40327e9b6c18c0d13ee46
|
@@ -36,8 +36,8 @@ module MasterCard
|
|
36
36
|
#
|
37
37
|
|
38
38
|
@__store = {
|
39
|
-
'
|
40
|
-
'
|
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("
|
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("
|
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
|
-
'
|
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("
|
68
|
+
return self.execute("bd154914-a734-44a3-9791-65f0633a4af7",Machine.new)
|
69
69
|
else
|
70
|
-
return self.execute("
|
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 =
|
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.
|
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.
|
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-
|
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
|