wolf_core 0.1.94 → 0.1.95
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: e19a6b8b85db964078cb573c3c0a9a70d259ac868b7cf13340646be965d74dde
|
4
|
+
data.tar.gz: 9ed9bf169bfd6e3d1b98ae11d3338f5aaa5f1546338b10e9a8fbe2e1aa5b8f66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59d2649c23a0471dfcf230d4d4ac71206fee9b389d2e30a75387ae3784bf0b47b48f37cd92c810ce5e41b5c68201c34b8220c243a33494ee579d058a0fc2f849
|
7
|
+
data.tar.gz: 72f602f75d91972f8ecfcc0d1d21c77f70dcb84a659fddda7f2d2f8f9bc17121fe772e2b659eadb1f35986bd95c2927a134b93fdae48337a0af8368caf5fb573
|
@@ -7,6 +7,15 @@ module WolfCore
|
|
7
7
|
params['payload'] = JSON.parse(params['payload'] || '{}')
|
8
8
|
end
|
9
9
|
|
10
|
+
def get_event_type(params:)
|
11
|
+
params['Type']
|
12
|
+
end
|
13
|
+
|
14
|
+
def get_event_name(params:)
|
15
|
+
message = JSON.parse(params['Message'] || {})
|
16
|
+
message['event_name']
|
17
|
+
end
|
18
|
+
|
10
19
|
def validate_user(event_type:, params:)
|
11
20
|
return if event_type == 'SubscriptionConfirmation'
|
12
21
|
|
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: 0.1.
|
4
|
+
version: 0.1.95
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javier Roncallo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -137,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
139
|
requirements: []
|
140
|
-
rubygems_version: 3.5.
|
140
|
+
rubygems_version: 3.5.16
|
141
141
|
signing_key:
|
142
142
|
specification_version: 4
|
143
143
|
summary: Repository to store shared code among Ruby projects.
|