ish_models 0.0.33.278 → 0.0.33.280
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/office/email_conversation.rb +1 -4
- data/lib/office/email_message.rb +4 -2
- 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: 86d812dc316600921e0a70a2dfd1290ba7953e6eef290572d5efe7da8fa1dffe
|
4
|
+
data.tar.gz: 11eaa2bc27bde9c54f4745b8ee062f632c3cce02ba57642b9935420a52b589f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a55ebe18caf9a86f644d448acc26c7d3cc933eff27bae16d81502dd931bf9d3b8aa02aea784a9a8961c9b56cbe404cc6faa29d95bc0eee43e53c70f7a50d01db
|
7
|
+
data.tar.gz: 7913f4c587eb36989e4f497149ff139b9549f863714cd51adb7b07f5eb8edf1cfb52ef90136b8b0d7e046577ac181a29710947821ccafff800de1656345f0e5d
|
@@ -24,10 +24,7 @@ class Office::EmailConversation
|
|
24
24
|
Lead.find( lead_ties.map( &:lead_id ) )
|
25
25
|
end
|
26
26
|
|
27
|
-
has_many :email_messages,
|
28
|
-
|
29
|
-
|
30
|
-
|
27
|
+
has_many :email_messages, class_name: 'Office::EmailMessage'
|
31
28
|
has_many :email_conversation_tags, class_name: 'Office::EmailConversationTag'
|
32
29
|
|
33
30
|
def wp_term_ids ## @TODO: remove _vp_ 2023-09-23
|
data/lib/office/email_message.rb
CHANGED
@@ -16,7 +16,7 @@ class Office::EmailMessage
|
|
16
16
|
|
17
17
|
field :in_reply_to_id, type: :string
|
18
18
|
|
19
|
-
field :object_key, type: :string ## aka 'filename', use with bucket name + prefix
|
19
|
+
field :object_key, type: :string ## aka 'filename', use with bucket name + prefix. I need this!
|
20
20
|
# validates_presence_of :object_key
|
21
21
|
field :object_path, type: :string ## A routable s3 url
|
22
22
|
|
@@ -36,7 +36,9 @@ class Office::EmailMessage
|
|
36
36
|
field :froms, type: Array, default: []
|
37
37
|
field :to, type: :string
|
38
38
|
field :tos, type: Array, default: []
|
39
|
+
field :cc, type: :string
|
39
40
|
field :ccs, type: Array, default: []
|
41
|
+
field :bcc, type: :string
|
40
42
|
field :bccs, type: Array, default: []
|
41
43
|
|
42
44
|
field :date, type: DateTime
|
@@ -44,7 +46,7 @@ class Office::EmailMessage
|
|
44
46
|
date
|
45
47
|
end
|
46
48
|
|
47
|
-
belongs_to :email_conversation
|
49
|
+
belongs_to :email_conversation, class_name: 'Office::EmailConversation'
|
48
50
|
def conv
|
49
51
|
email_conversation
|
50
52
|
end
|