wolf_core 1.0.63 → 1.0.65
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: bcc894fac9d30552d1bcbd18ea5aa6253ed3deee25da39fe3ef0a7f87c2e5322
|
4
|
+
data.tar.gz: 983c5d979c641c2c4424f6a15faf5e519798232840b7135f90276d74c929e6ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b97699752ab75c9ca40dea092dc7c3916d2fd06380f7fe2f9391587a419ac14417077bc2b06e639ab1015d42f98009f1d8dea3c49bdaac292c9c1a25009444f4
|
7
|
+
data.tar.gz: d8424a9f1b17edca658419b09956f53da0a9e1f9df5819bcde3373644078658c94b668343fa6b6e0759bc54567685e61c41aad0c33f2993cdd4ad039feaee7f6
|
@@ -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
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wolf_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.65
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javier Roncallo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|