emailvision4rails 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,11 +12,15 @@ module Emailvision4rails
12
12
  campaign = Campaign.new(payload[:campaign])
13
13
 
14
14
  # Message
15
- message.create
15
+ unless message.create
16
+ return false
17
+ end
16
18
 
17
19
  # Campaign
18
20
  campaign.message_id = message.id
19
- campaign.create
21
+ unless campaign.create
22
+ return false
23
+ end
20
24
  campaign.post
21
25
 
22
26
  true
@@ -1,3 +1,3 @@
1
1
  module Emailvision4rails
2
- Version = VERSION = '0.1.2'
2
+ Version = VERSION = '0.1.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: emailvision4rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: