sendgrid_cli_mailer 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/sg_cli +3 -2
- data/lib/sendgrid_cli_mailer/version.rb +1 -1
- metadata +1 -1
data/bin/sg_cli
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
+
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')
|
2
3
|
require 'sendgrid_toolkit'
|
3
4
|
require "thor"
|
4
|
-
|
5
|
+
require 'sendgrid_cli_mailer'
|
5
6
|
|
6
7
|
class SendgridCliMailerCommand < Thor
|
7
8
|
desc "mail", "Sends an email via SendGrid API"
|
@@ -18,5 +19,5 @@ class SendgridCliMailerCommand < Thor
|
|
18
19
|
:subject => options[:subject], :text => body
|
19
20
|
end
|
20
21
|
end
|
21
|
-
SendgridCliMailerCommand.start
|
22
|
+
SendgridCliMailerCommand.start
|
22
23
|
|