Class: Office::ScheduledEmailAction
- Inherits:
-
Object
- Object
- Office::ScheduledEmailAction
- Includes:
- Mongoid::Document, Mongoid::Paranoia, Mongoid::Timestamps
- Defined in:
- lib/office/scheduled_email_action.rb
Overview
2023-03-04 vp An instance of an EmailAction.
Constant Summary collapse
- STATE_ACTIVE =
'active'- STATE_INACTIVE =
'inactive'- STATES =
[ STATE_ACTIVE, STATE_INACTIVE ]
Instance Method Summary collapse
Instance Method Details
#act ⇒ Object
22 |
# File 'lib/office/scheduled_email_action.rb', line 22 def act; email_action; end |
#act=(a) ⇒ Object
23 |
# File 'lib/office/scheduled_email_action.rb', line 23 def act= a; email_action= a; end |
#ctxs ⇒ Object
27 |
# File 'lib/office/scheduled_email_action.rb', line 27 def ctxs; email_contexts; end |
#lead ⇒ Object
11 12 13 |
# File 'lib/office/scheduled_email_action.rb', line 11 def lead Lead.find( lead_id ) end |