maxemail_api 2.0.13 → 2.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/maxemail_api/response.rb +4 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12ebc6803c372b2002d78b6655ab305653501c110cd4418e616fe4f4ee77fc3b
4
- data.tar.gz: 6c926f13b4c71155aedd8207c837964ac8285ea4d9c9202c078c354e7d4cf638
3
+ metadata.gz: ca3adad52cb1c52290150d91840c051b6a9b742fc9354a3ace1cc651d8b11338
4
+ data.tar.gz: 771ce93d21d3061faf148b0bf1e9f0c512a4f8c40edf78e2b310c22c648f9697
5
5
  SHA512:
6
- metadata.gz: b48b8ed5a33dbb2ff191836927a820bf4b067713252128d13a5fe519be7ebe23668b4e278b2665ca0101ab8a17c1e59da302e7574d9f107b8d304d2841a460f6
7
- data.tar.gz: aaf29b5daf1c2ce14c4eba9f412483445d1e8823c36dc7b8bbcf68be259e6dcd1ff122702b815719aac81a9b33bc02156e3effaca2f3cade7bedd08a55af14dc
6
+ metadata.gz: 8a9903ecb95926ff9a6d7af0002344d6771a09c2e10287a922314e6a2cd7e39fb054daa757e4d84228d4957a2912b6210c2d80d264d73222d3e624009d0f4c32
7
+ data.tar.gz: d725b2ebcf85d6aa2fd10fa2e243280b8f720d455d894aa3305f2714ef8cd1dd1500b7a4049ba05e2039a4e3962d69c04528ed2b143a0b800fc525d2b8ae0757
@@ -17,6 +17,10 @@ class MaxemailApiResponse
17
17
  @data[:success]
18
18
  end
19
19
 
20
+ def missing_template_id?
21
+ @data[:message].present? && @data[:message].include?('Could not find any approved triggered emails in folder')
22
+ end
23
+
20
24
  def message
21
25
  @data[:message]
22
26
  end
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.13
4
+ version: 2.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Murray Catto
@@ -53,7 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  requirements: []
56
- rubygems_version: 3.0.1
56
+ rubygems_version: 3.1.2
57
57
  signing_key:
58
58
  specification_version: 4
59
59
  summary: Maxemails API wrapped in a gem