neon_email 0.0.9 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app.rb +5 -1
- data/lib/neon_email/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c40d88f4c28b729a5e855912be0741a0ad0eb2526981cfe989ccb2bb17c294a5
|
4
|
+
data.tar.gz: 2ae8b9ecab535718a411771c3b1c155d76cb9dff3a4bc970d8d2a55e16299855
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54dbf8e7b80e6b20b9956060d20a5efbc032f03ccd0fab57f1dd71d2c54c31ab41b004393c0b62a237e9a8b6814d8954ffd4556ac107b30a6e2ac144f16852a7
|
7
|
+
data.tar.gz: f8e346a358dc12f7975bd8dbba457fc6bd05c3d57050912ac521ed0e7dff32a56765cf84cc17240b1039fa9616030ef34d96620f274a20d3f5b1b8f8325bdf9d
|
data/Gemfile.lock
CHANGED
data/app.rb
CHANGED
@@ -1,11 +1,15 @@
|
|
1
1
|
require "functions_framework"
|
2
2
|
require "neon_email"
|
3
3
|
require "logger"
|
4
|
+
require "base64"
|
5
|
+
require "json"
|
4
6
|
|
5
7
|
logger = Logger.new($stdout)
|
6
8
|
|
7
9
|
WELCOME_EMAIL_TOPIC = "com.neon_law.outbound_email.welcome_email".freeze
|
8
10
|
|
9
11
|
FunctionsFramework.cloud_event WELCOME_EMAIL_TOPIC do |event|
|
10
|
-
|
12
|
+
data = JSON.parse(Base64.strict_decode64(event.data.fetch(:data)))
|
13
|
+
|
14
|
+
logger.info(data)
|
11
15
|
end
|
data/lib/neon_email/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neon_email
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Neon Law
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06-
|
11
|
+
date: 2021-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: neon_schemas
|