Class: SnowplowTracker::Timestamp
- Inherits:
-
Object
- Object
- SnowplowTracker::Timestamp
- Defined in:
- lib/snowplow-tracker/timestamp.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(type, value) ⇒ Timestamp
constructor
A new instance of Timestamp.
Constructor Details
#initialize(type, value) ⇒ Timestamp
Returns a new instance of Timestamp.
23 24 25 26 |
# File 'lib/snowplow-tracker/timestamp.rb', line 23 def initialize(type, value) @type = type @value = value end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
20 21 22 |
# File 'lib/snowplow-tracker/timestamp.rb', line 20 def type @type end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
21 22 23 |
# File 'lib/snowplow-tracker/timestamp.rb', line 21 def value @value end |