Class: Mailkube::Events::SuppressionContext

Inherits:
Node
  • Object
show all
Defined in:
lib/mailkube/events/contexts.rb,
sig/mailkube/events/contexts.rbs

Overview

Recipients suppressed for a message (email.suppressed).

Instance Attribute Summary

Attributes inherited from Node

#raw

Instance Method Summary collapse

Methods inherited from Node

#==, #[], #block, #hash, #initialize, #to_h

Constructor Details

This class inherits a constructor from Mailkube::Events::Node

Instance Method Details

#recipientsArray<String>

Returns the suppressed recipients.

Returns:

  • (Array<String>)

    the suppressed recipients.



83
84
# File 'lib/mailkube/events/contexts.rb', line 83

def recipients = self["recipients"]
# @return [String] when the suppression was applied.

#timestampString

Returns when the suppression was applied.

Returns:

  • (String)

    when the suppression was applied.



85
# File 'lib/mailkube/events/contexts.rb', line 85

def timestamp = self["timestamp"]