Class: Office::EmailMessageStub
- Inherits:
-
Object
- Object
- Office::EmailMessageStub
- Includes:
- Mongoid::Document, Mongoid::Timestamps
- Defined in:
- lib/office/email_message_stub.rb
Overview
Only object_key, object_path, no validations.
Constant Summary collapse
- STATE_PENDING =
'state_pending'- STATE_PROCESSED =
'state_processed'- STATES =
[ STATE_PENDING, STATE_PROCESSED ]
Instance Method Summary collapse
-
#object_key ⇒ Object
aka ‘filename’, use with bucket name + prefix.
-
#object_path ⇒ Object
A routable s3 url ## @TODO: remove this field.
Instance Method Details
#object_key ⇒ Object
aka ‘filename’, use with bucket name + prefix
14 |
# File 'lib/office/email_message_stub.rb', line 14 field :object_key, type: :string |
#object_path ⇒ Object
A routable s3 url ## @TODO: remove this field. vp 2023-03-07
17 |
# File 'lib/office/email_message_stub.rb', line 17 field :object_path, type: :string |