Class: Mailkube::Events::DeliveryContext
- Defined in:
- lib/mailkube/events/contexts.rb,
sig/mailkube/events/contexts.rbs
Overview
A single-recipient delivery outcome (email.delivered, email.sent).
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
-
#recipient ⇒ String
The recipient this outcome is about.
-
#timestamp ⇒ String
When the outcome was recorded.
Methods inherited from Node
#==, #[], #block, #hash, #initialize, #to_h
Constructor Details
This class inherits a constructor from Mailkube::Events::Node
Instance Method Details
#recipient ⇒ String
Returns the recipient this outcome is about.
43 44 |
# File 'lib/mailkube/events/contexts.rb', line 43 def recipient = self["recipient"] # @return [String] when the outcome was recorded. |
#timestamp ⇒ String
Returns when the outcome was recorded.
45 |
# File 'lib/mailkube/events/contexts.rb', line 45 def = self["timestamp"] |