ish_models 0.0.33.255 → 0.0.33.257
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ish/email_context.rb +6 -0
- data/lib/ish/email_template.rb +28 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 967e2dc82678bca2b5f7ce4e8d8f323da7f6ac3252f01f68ded8efe59cb3e866
|
4
|
+
data.tar.gz: 43aba5c773bfa6b9d67e17187a3c87fb11c485999dee49aca29b09e1c71788fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3eccb193daa2a797a4cd7cf5320f3623a416c5232734eb9eb24bf1d4572ab56a83df200c5674f3be6095b32169642641876b575c94c9e030bbc75574f2b2a552
|
7
|
+
data.tar.gz: e9cfaa83e47b60e0fd69bbc28eccd42e0e6084655329a45095662d9d7dab06818bf7bdb9f648a18f0e165b3f4e52b414fd642de9881c65f6c675b786d5267e6c
|
data/lib/ish/email_context.rb
CHANGED
@@ -88,6 +88,12 @@ class ::Ish::EmailContext
|
|
88
88
|
|
89
89
|
def get_binding
|
90
90
|
@lead = lead()
|
91
|
+
@utm_tracking_str = {
|
92
|
+
'cid' => lead.id,
|
93
|
+
'utm_campaign' => tmpl.slug,
|
94
|
+
'utm_medium' => 'email',
|
95
|
+
'utm_source' => tmpl.slug,
|
96
|
+
}.map { |k, v| "#{k}=#{v}" }.join("&")
|
91
97
|
binding()
|
92
98
|
end
|
93
99
|
|
data/lib/ish/email_template.rb
CHANGED
@@ -24,15 +24,42 @@ class ::Ish::EmailTemplate
|
|
24
24
|
field :body
|
25
25
|
|
26
26
|
FROM_EMAILS = [
|
27
|
+
'Annesque Studio <hello@annesque.studio>',
|
28
|
+
'Annesque Studio <no-reply@annesque.studio>',
|
29
|
+
|
30
|
+
'BJJCollective <hello@bjjcollective.com>',
|
31
|
+
'BJJCollective <no-reply@bjjcollective.com>',
|
32
|
+
|
33
|
+
'DemmiTV <hello@demmi.tv>',
|
34
|
+
'DemmiTV <no-reply@demmi.tv>',
|
35
|
+
|
27
36
|
'Infinite Shelter <hello@infiniteshelter.com>',
|
28
37
|
'Infinite Shelter <no-reply@infiniteshelter.com>',
|
38
|
+
|
39
|
+
'Oquaney Splicing <hello@oquaney-splicing.com>',
|
40
|
+
'Oquaney Splicing <no-reply@oquaney-splicing.com>',
|
41
|
+
|
29
42
|
'Victor Piousbox <piousbox@gmail.com>',
|
30
43
|
'Victor Piousbox <victor@piousbox.com>',
|
31
44
|
'Victor Piousbox <no-reply@piousbox.com>',
|
32
|
-
'Victor
|
45
|
+
'Victor Pudeyev <victor@pudeyev.com>',
|
46
|
+
|
47
|
+
'WasyaCo Consulting <admin@wasya.co>',
|
48
|
+
'Alex <alex@wasya.co>',
|
49
|
+
'Bailey <bailey@wasya.co>',
|
50
|
+
'Cameron <cameron@wasya.co>',
|
33
51
|
'WasyaCo Consulting <hello@wasya.co>',
|
52
|
+
'Jess <jess@wasya.co>',
|
34
53
|
'WasyaCo Consulting <no-reply@wasya.co>',
|
35
54
|
'Victor Piousbox <victor@wasya.co>',
|
55
|
+
|
56
|
+
'WasyaCo Consulting <admin@wasyaco.com>',
|
57
|
+
'Alex <alex@wasyaco.com>',
|
58
|
+
'Bailey <bailey@wasyaco.com>',
|
59
|
+
'Cameron <cameron@wasyaco.com>',
|
60
|
+
'WasyaCo Consulting <hello@wasyaco.com>',
|
61
|
+
'WasyaCo Consulting <no-reply@wasyaco.com>',
|
62
|
+
'Victor <victor@wasyaco.com>',
|
36
63
|
];
|
37
64
|
field :from_email
|
38
65
|
def self.from_email_list
|