Class: Hackle::UserEvent::Track
- Inherits:
-
Hackle::UserEvent
- Object
- Hackle::UserEvent
- Hackle::UserEvent::Track
- Defined in:
- lib/hackle/events/user_event.rb
Instance Attribute Summary collapse
-
#event ⇒ Object
readonly
Returns the value of attribute event.
- #event_type ⇒ EventType readonly
Attributes inherited from Hackle::UserEvent
Instance Method Summary collapse
-
#initialize(user:, event_type:, event:) ⇒ Track
constructor
A new instance of Track.
Methods inherited from Hackle::UserEvent
Constructor Details
#initialize(user:, event_type:, event:) ⇒ Track
Returns a new instance of Track.
49 50 51 52 53 |
# File 'lib/hackle/events/user_event.rb', line 49 def initialize(user:, event_type:, event:) super(user: user) @event_type = event_type @event = event end |
Instance Attribute Details
#event ⇒ Object (readonly)
Returns the value of attribute event.
44 |
# File 'lib/hackle/events/user_event.rb', line 44 attr_reader :event_type, :event |
#event_type ⇒ EventType (readonly)
44 45 46 |
# File 'lib/hackle/events/user_event.rb', line 44 def event_type @event_type end |