wolf_core 1.0.63 → 1.0.64
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06d83447a855affde645405ba9475f0a44d6da3f88ffa519544bac6abdbb7882
|
4
|
+
data.tar.gz: 9ecec55c7d88a15df8dc64b69cbe127bdd1536781a40b0ea2f8b726be2f53eb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81a313e6ff35fb85c87a89c39baa3cb707bd9f3d65e11dd45a49c5759ba316b565189aad1f8a04aa8e7bfe46c0cd4dd086c1e21b8f9a602a0f6ab4834a43a2dd
|
7
|
+
data.tar.gz: 3369777bed8d92a35a936deed8266810db8ded505c131618d53625a306286a453af32b0572f192c6647aaf318c3c08e5a989bd733a4cc7b4c1f65e8c8d8b5abe
|
@@ -25,12 +25,14 @@ module WolfCore
|
|
25
25
|
invocation_type ||= 'Event'
|
26
26
|
# use invocation_type = 'Event' to make an asynchronous call
|
27
27
|
# use invocation_type = 'RequestResponse' to make a synchronous call
|
28
|
-
@@client.invoke({
|
28
|
+
response = @@client.invoke({
|
29
29
|
function_name: function_name,
|
30
30
|
invocation_type: invocation_type,
|
31
31
|
log_type: 'Tail',
|
32
32
|
payload: parsed_payload
|
33
33
|
})
|
34
|
+
return if invocation_type == 'Event'
|
35
|
+
JSON.parse(response.payload.string)
|
34
36
|
end
|
35
37
|
end
|
36
38
|
end
|
data/lib/wolf_core/version.rb
CHANGED