ish_models 0.0.33.244 → 0.0.33.245
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 +1 -0
- 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: de7c1387a79b26351435ba9dd4e0820282f36e15464884b650e7f4cf489fd1f4
|
4
|
+
data.tar.gz: d36f19a818f22108ffb56d8f61f7e199816432b809d7c95d13466213342a9a4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac941bc5a76b278489eb7d187154d8cbae27e04635a63b83c98c0d2e6c0b9c4adf01de26900e73f9ae50b38218aba00a70e29d9cb9dc434e4aafbf6dc4cae1a4
|
7
|
+
data.tar.gz: 8693c6a86dfe3e30de6b42a2a4cc3b27616a6f90b3082f80c72d646acdd98d993ed17084052e3a358a98f8d1509b8cc90564869ca72af8a731bc97d4cba6e062
|
data/lib/ish/email_context.rb
CHANGED
@@ -68,6 +68,7 @@ class ::Ish::EmailContext
|
|
68
68
|
Ish::EmailCampaign.from_email_list
|
69
69
|
end
|
70
70
|
|
71
|
+
## like belongs_to to_lead , but Lead is SQL to just the lead_id
|
71
72
|
field :lead_id, type: :integer
|
72
73
|
def lead; Lead.find( lead_id ); end
|
73
74
|
def to_email; lead[:email]; end ## @TODO: remove, just use the lead. _vp_ 2023-03-27
|