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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3677bd0b5b910e6c55ce20855c34566fb4054967dfed7a476d94652bdd8d162f
4
- data.tar.gz: 930a51ab0e79cb7295d57a604ad4c7263284c57f04814ad1a96ea17111ac32c3
3
+ metadata.gz: 86d812dc316600921e0a70a2dfd1290ba7953e6eef290572d5efe7da8fa1dffe
4
+ data.tar.gz: 11eaa2bc27bde9c54f4745b8ee062f632c3cce02ba57642b9935420a52b589f7
5
5
  SHA512:
6
- metadata.gz: 68224156745d13623eeb287257ff37810a753073183beef78b9e559ad1cf8f674b4422df954bbacab8de655c1fd581bdb6ad4fc001b6749c4a99a24511b0293a
7
- data.tar.gz: d172ee0cc83b99ba595c71d8dd9573420b9f1b833959e246b47e8af0d0669659e3b95d15e6f8145cae16c51755ccbd129fa6ba50f00d52715468a51de88da26c
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, class_name: 'Office::EmailMessage'
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
@@ -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
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.278
4
+ version: 0.0.33.280
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox