Class: Mailtrap::EmailLogEvent
- Inherits:
-
Struct
- Object
- Struct
- Mailtrap::EmailLogEvent
- Defined in:
- lib/mailtrap/email_log_event.rb
Overview
Data Transfer Object for an email log event (delivery, open, click, bounce, etc.)
Instance Attribute Summary collapse
-
#created_at ⇒ String
readonly
ISO 8601 timestamp.
-
#details ⇒ EmailLogEventDetails::Delivery, ...
readonly
Type-specific event details.
-
#event_type ⇒ String
readonly
One of: delivery, open, click, soft_bounce, bounce, spam, unsubscribe, suspension, reject.
Instance Attribute Details
#created_at ⇒ String (readonly)
ISO 8601 timestamp
12 13 14 |
# File 'lib/mailtrap/email_log_event.rb', line 12 def created_at @created_at end |
#details ⇒ EmailLogEventDetails::Delivery, ... (readonly)
Type-specific event details
12 13 14 |
# File 'lib/mailtrap/email_log_event.rb', line 12 def details @details end |
#event_type ⇒ String (readonly)
One of: delivery, open, click, soft_bounce, bounce, spam, unsubscribe, suspension, reject
12 13 14 |
# File 'lib/mailtrap/email_log_event.rb', line 12 def event_type @event_type end |