maxemail_api 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/maxemail_api/triggered.rb +3 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16cd1af60b80b225cd2c7437a2bf7441e16c907a
|
4
|
+
data.tar.gz: c0e62d932b83202603ba39e91df1ddade292ee42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1826b818e0ed632ef17cfc21efcdf472e197da77b0591e0f820d3845f8508728b2b318a259970a06da289c06aaa706060749acdc6a66145cc7f112703c8161b
|
7
|
+
data.tar.gz: '09efc3a5ef232e15326667b8ea8b0f423df4b7ba7500972efda0df09021f95f2dac75fdc6f80811cab082fb5ef5425f3e1264388f725ae7b90c2c16cf054eb14'
|
@@ -15,6 +15,9 @@ module MaxemailApiTriggered
|
|
15
15
|
emailAddress: email_address,
|
16
16
|
emailId: email_id,
|
17
17
|
profileData: profile_data.to_json }, method: 'email_send').body)
|
18
|
+
puts 'MaxemailApiResponse:'
|
19
|
+
puts response
|
20
|
+
puts 'END MaxemailApiResponse :'
|
18
21
|
return MaxemailApiResponse.new(data: {}, success: true, message: 'Mail sent') if response['success'] == true
|
19
22
|
return MaxemailApiResponse.new(data: {}, success: false, message: 'Server error') if response['success'] == false
|
20
23
|
rescue StandardError => e
|