Class: SnowplowTracker::TrueTimestamp
- Defined in:
- lib/snowplow-tracker/timestamp.rb
Overview
A very simple class that stores a timestamp, i.e. a numeric value
representing milliseconds since the Unix epoch, and which type of timestamp
it is, namely ttm
. This raw event ttm
field will be processed into
true_tstamp
in the completed event.
Instance Method Summary collapse
-
#initialize(value) ⇒ TrueTimestamp
constructor
A new instance of TrueTimestamp.
Constructor Details
#initialize(value) ⇒ TrueTimestamp
Returns a new instance of TrueTimestamp.
96 97 98 |
# File 'lib/snowplow-tracker/timestamp.rb', line 96 def initialize(value) super 'ttm', value end |