maxemail_api 2.0.5 → 2.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 +1 -1
- 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: 60f4bb4f8f66027ccc476ddfcfb1edc9574a2250
|
4
|
+
data.tar.gz: b19a39fe05092335c0c27516a680087268030889
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94ef79389c4f1554f1a7b92ac950269a43c00e9b369c9a51fc27102a3de9c3826aa391106f97865a83ebee500f4a2959ea68b62b27b8f0338b9ce2a29539cd56
|
7
|
+
data.tar.gz: 0d0ed6b7edeb84fd46dfd9924a484e0fe695aeadf650a5826025f1565840f1f6b92c1e14d7bcbe815f91c8c0f66cb8152fc28efa8dd7aece4eafe113cc4755ea
|
@@ -13,7 +13,7 @@ module MaxemailApiTriggered
|
|
13
13
|
return MaxemailApiResponse.new(data: {}, success: false, message: 'Invalid Email address') unless valid_email?(email_address)
|
14
14
|
response = JSON.parse(MaxemailApiShared.send_request(params: { method: 'triggerFolder',
|
15
15
|
emailAddress: email_address,
|
16
|
-
|
16
|
+
folderId: folder_id,
|
17
17
|
profileData: profile_data.to_json }, method: 'email_send').body)
|
18
18
|
return MaxemailApiResponse.new(data: {}, success: true, message: 'Mail sent') if response['success'] == true
|
19
19
|
return MaxemailApiResponse.new(data: {}, success: false, message: 'Server error') if response['success'] == false
|