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: d28ecbd7d9325a547573eeb470e36fd6bc2ed39ddd7d232f6f8daf44c5a3ed89
4
- data.tar.gz: 7a3a1e59ed1325fea83b821929ccb990597ef4b4030657ec4136334a42031f59
3
+ metadata.gz: 06d83447a855affde645405ba9475f0a44d6da3f88ffa519544bac6abdbb7882
4
+ data.tar.gz: 9ecec55c7d88a15df8dc64b69cbe127bdd1536781a40b0ea2f8b726be2f53eb4
5
5
  SHA512:
6
- metadata.gz: 92d38d2f07d9b4c9cea5b79c8b0f71fd72489c4671155ff1babec233c935afb70e731927915a2b622b8b2da5b204dbf738409e75f09478d09b69c6a956874bf1
7
- data.tar.gz: 5abb0753b7d2b1d523ddaffc89f58fbcad03ad81eea1e4ae5d81ad5b620ee40f7d44aa3f2d5a94e4120e31754a3071939b87d4f59e796b08ca42feb010e65726
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WolfCore
4
- VERSION = "1.0.63"
4
+ VERSION = "1.0.64"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wolf_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.63
4
+ version: 1.0.64
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Roncallo