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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ish/email_context.rb +1 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e03d895b8c833b21a3305f9acf0dc93eea440a0aa129347f39912ac2ad28fdc8
4
- data.tar.gz: 88217b632351f5ddb12991a90b707862131d21d4a2daf5c1acce3c708ea08ccc
3
+ metadata.gz: de7c1387a79b26351435ba9dd4e0820282f36e15464884b650e7f4cf489fd1f4
4
+ data.tar.gz: d36f19a818f22108ffb56d8f61f7e199816432b809d7c95d13466213342a9a4d
5
5
  SHA512:
6
- metadata.gz: aeaba4225359ffea476ac05300ddb16c31053d164dab56807479958e06ba4f56d109531fe980a712743ce64324b282e188b3edad2bd31dddc48eb8b915b662cd
7
- data.tar.gz: c0f379b695e049d84c590ad6faa9e839befe7f54f976a89af6476c06657ee6e555d29cee5d9157b57edf5451b59a135540f6882991f88498e816fafc1dcb7ad9
6
+ metadata.gz: ac941bc5a76b278489eb7d187154d8cbae27e04635a63b83c98c0d2e6c0b9c4adf01de26900e73f9ae50b38218aba00a70e29d9cb9dc434e4aafbf6dc4cae1a4
7
+ data.tar.gz: 8693c6a86dfe3e30de6b42a2a4cc3b27616a6f90b3082f80c72d646acdd98d993ed17084052e3a358a98f8d1509b8cc90564869ca72af8a731bc97d4cba6e062
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.33.244
4
+ version: 0.0.33.245
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox