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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c91c22d45527ca3dea6c50dfe73ed82a5dd058b388c1e66875e809b7ed91ced
4
- data.tar.gz: 14563f3b286a9047c98bcd1504ea8d6ee6b82276c683e09e6752e121b0543642
3
+ metadata.gz: 12ebc6803c372b2002d78b6655ab305653501c110cd4418e616fe4f4ee77fc3b
4
+ data.tar.gz: 6c926f13b4c71155aedd8207c837964ac8285ea4d9c9202c078c354e7d4cf638
5
5
  SHA512:
6
- metadata.gz: df3f2db4b64fe6f5b4bbd346a3e0d2ef45d1f528cc1057490b44542f57da213915c56a5cc00e700a432179f566339d6ddc7adaa5b60841f2231dd7a9ac7c62a1
7
- data.tar.gz: b58c4a9c5927540255b9e6f4e861236845171944c7c54c9b1469a748c1bbcb950b7b2ed6b693d69d285002aabec494efe3f49ff504a6e6ea02c525e99b7c4c05
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']) if response.present?
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']) if response.present?
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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maxemail_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.12
4
+ version: 2.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Murray Catto