Class: AmplitudeAnalytics::PluginType
- Inherits:
-
Object
- Object
- AmplitudeAnalytics::PluginType
- Defined in:
- lib/amplitude/constants.rb
Overview
PluginType
Constant Summary collapse
- BEFORE =
0
- ENRICHMENT =
1
- DESTINATION =
2
Class Method Summary collapse
Class Method Details
.name(value) ⇒ Object
35 36 37 38 39 40 41 42 43 |
# File 'lib/amplitude/constants.rb', line 35 def self.name(value) mapping = { BEFORE => 'BEFORE', ENRICHMENT => 'ENRICHMENT', DESTINATION => 'DESTINATION' } mapping[value] end |