neon_email 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app.rb +3 -1
- data/lib/neon_email/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89a438887ec723f38ce45670094bd5a6b0f82c91cff68a5c32225974d1d8939d
|
4
|
+
data.tar.gz: 9ed2bf07e591f1d995cc39ae0a42238519ae28997b89b6d71c435701d6d6ff65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 547bec39ca5c44eb842bda76fac2a9e3d06a90ef9e1a7ba6b7d6adc2451e36fcf709338a6b50ea982f8d23ca65d89113858f481b9dc217468339fa0e2b47e1ca
|
7
|
+
data.tar.gz: 83639e6778b6cf49cf40adf8d7f4283ed19029589ec2287f5084ec038d18ee176aa1c112ad14770747e88c7203ac899f0ae351c6b830a19f96b176067cf51f88
|
data/app.rb
CHANGED
@@ -9,7 +9,9 @@ logger = Logger.new($stdout)
|
|
9
9
|
WELCOME_EMAIL_TOPIC = "com.neon_law.outbound_email.welcome_email".freeze
|
10
10
|
|
11
11
|
FunctionsFramework.cloud_event WELCOME_EMAIL_TOPIC do |event|
|
12
|
-
data = JSON.parse(
|
12
|
+
data = JSON.parse(
|
13
|
+
Base64.strict_decode64(event.data.fetch(:message).fetch(:data))
|
14
|
+
)
|
13
15
|
|
14
16
|
logger.info(data)
|
15
17
|
end
|
data/lib/neon_email/version.rb
CHANGED