Class: Hackle::Event
- Inherits:
-
Object
- Object
- Hackle::Event
- Defined in:
- lib/hackle/events/event.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#timestamp ⇒ Object
readonly
Returns the value of attribute timestamp.
-
#user_id ⇒ Object
readonly
Returns the value of attribute user_id.
Class Method Summary collapse
Instance Attribute Details
#timestamp ⇒ Object (readonly)
Returns the value of attribute timestamp.
5 6 7 |
# File 'lib/hackle/events/event.rb', line 5 def @timestamp end |
#user_id ⇒ Object (readonly)
Returns the value of attribute user_id.
5 6 7 |
# File 'lib/hackle/events/event.rb', line 5 def user_id @user_id end |
Class Method Details
.generate_timestamp ⇒ Object
29 30 31 |
# File 'lib/hackle/events/event.rb', line 29 def self. (Time.now.to_f * 1000).to_i end |