Class: SnowplowTracker::DeviceTimestamp
- 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 dtm
. This raw event dtm
field will be processed into
dvce_created_tstamp
in the completed event.
Instance Method Summary collapse
-
#initialize(value) ⇒ DeviceTimestamp
constructor
A new instance of DeviceTimestamp.
Constructor Details
#initialize(value) ⇒ DeviceTimestamp
Returns a new instance of DeviceTimestamp.
110 111 112 |
# File 'lib/snowplow-tracker/timestamp.rb', line 110 def initialize(value) super 'dtm', value end |