Class: AmplitudeAnalytics::EventPlugin

Inherits:
Plugin
  • Object
show all
Defined in:
lib/amplitude/plugin.rb

Overview

EventPlugin

Direct Known Subclasses

DestinationPlugin

Instance Attribute Summary

Attributes inherited from Plugin

#plugin_type

Instance Method Summary collapse

Methods inherited from Plugin

#initialize, #setup

Constructor Details

This class inherits a constructor from AmplitudeAnalytics::Plugin

Instance Method Details

#execute(event) ⇒ Object



22
23
24
# File 'lib/amplitude/plugin.rb', line 22

def execute(event)
  track(event)
end

#track(event) ⇒ Object



26
27
28
# File 'lib/amplitude/plugin.rb', line 26

def track(event)
  event
end