Class: MailSpy::Action
- Inherits:
-
Object
- Object
- MailSpy::Action
- Includes:
- Mongoid::Document, Mongoid::Timestamps
- Defined in:
- app/models/mail_spy/action.rb
Constant Summary collapse
- ACTION_TYPE_OPEN =
'open'
- ACTION_TYPE_CLICK =
'click'
- ACTION_TYPE_BOUNCE =
'bounce'
- ACTION_TYPE_UNSUBSCRIBE =
'unsubscribe'
- ACTION_TYPE_SPAM =
'spam'
Instance Method Summary collapse
Instance Method Details
#details ⇒ Object
18 19 20 |
# File 'app/models/mail_spy/action.rb', line 18 def details self.read_attribute(:details).try(:with_indifferent_access) end |