trikle-mail 0.0.0 → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/trikle-mail +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 56b56209a0710573c0e10588c9b66356d89083a9
|
|
4
|
+
data.tar.gz: 4b869f8d5c346db9df95f556afd3ad499ec2af03
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cf18a54f6670acf233aec9b51b6e8ffd297d4cfc0eb49c71a27bddc67c1ab5b8bd75ec9693770e9d21d221d9c8347d8f20e8a3c08a645525fb5152ba9875f9df
|
|
7
|
+
data.tar.gz: 3c4a3fa85e7430925ca8cd3ece6a75a1550a9e930c75a4eeb5352f88d3f299508a0654a401cc3f93ef1aa890d63746976cb98b41a46d25b8c3d63bbc376738ad
|
data/bin/trikle-mail
CHANGED
|
@@ -20,6 +20,7 @@ class TrikleMail
|
|
|
20
20
|
c.option '--from_name STRING', String, 'The name of the sender'
|
|
21
21
|
c.option '--subject STRING', String, 'The subject line of the message'
|
|
22
22
|
c.option '--template STRING', String, 'The template slug of the message template'
|
|
23
|
+
c.option '--subaccount STRING', String, 'The mandril subaccount for this batch of email'
|
|
23
24
|
c.option '--hours INTEGER', Integer, 'The number of hours over which to send the emails'
|
|
24
25
|
c.option '--minutes INTEGER', Integer, 'The number of minutes over which to send the emails'
|
|
25
26
|
|
|
@@ -43,6 +44,7 @@ class TrikleMail
|
|
|
43
44
|
hash['template'] || options.template,
|
|
44
45
|
[],
|
|
45
46
|
{
|
|
47
|
+
subaccount: hash['subaccount'] || options.subaccount,
|
|
46
48
|
subject: hash['subject'] || options.subject,
|
|
47
49
|
from_email: hash['from_email'] || options.from_email,
|
|
48
50
|
from_name: hash['from_name'] || options.from_name,
|