Class: Mailkube::Events::ClickContext

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

Overview

A click interaction (email.clicked): an open, plus the link that was clicked.

Instance Attribute Summary

Attributes inherited from Node

#raw

Instance Method Summary collapse

Methods inherited from EngagementContext

#ip_address, #timestamp, #user_agent

Methods inherited from Node

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

Constructor Details

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

Instance Method Details

Returns the clicked URL.

Returns:

  • (String)

    the clicked URL.



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

def link = self["link"]