maxemail_api 2.0.12 → 2.0.13
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 +2 -2
- 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: 12ebc6803c372b2002d78b6655ab305653501c110cd4418e616fe4f4ee77fc3b
|
4
|
+
data.tar.gz: 6c926f13b4c71155aedd8207c837964ac8285ea4d9c9202c078c354e7d4cf638
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b48b8ed5a33dbb2ff191836927a820bf4b067713252128d13a5fe519be7ebe23668b4e278b2665ca0101ab8a17c1e59da302e7574d9f107b8d304d2841a460f6
|
7
|
+
data.tar.gz: aaf29b5daf1c2ce14c4eba9f412483445d1e8823c36dc7b8bbcf68be259e6dcd1ff122702b815719aac81a9b33bc02156e3effaca2f3cade7bedd08a55af14dc
|
@@ -22,7 +22,7 @@ module MaxemailApiTriggered
|
|
22
22
|
puts e
|
23
23
|
puts "profile_data: #{profile_data}"
|
24
24
|
puts 'END MaxemailApiResponse Error:'
|
25
|
-
MaxemailApiResponse.new(data: {}, success: false, message: response['msg'])
|
25
|
+
MaxemailApiResponse.new(data: {}, success: false, message: response['msg']) unless response.nil?
|
26
26
|
end
|
27
27
|
|
28
28
|
def send_triggered(email_address: nil, email_id: nil, profile_data: nil)
|
@@ -40,7 +40,7 @@ module MaxemailApiTriggered
|
|
40
40
|
puts 'MaxemailApiResponse Error:'
|
41
41
|
puts e
|
42
42
|
puts 'END MaxemailApiResponse Error:'
|
43
|
-
return MaxemailApiResponse.new(data: {}, success: false, message: response['msg'])
|
43
|
+
return MaxemailApiResponse.new(data: {}, success: false, message: response['msg']) unless response.nil?
|
44
44
|
end
|
45
45
|
|
46
46
|
def find_email_id(folder_name: nil, email_name: nil)
|