Class: LaunchDarkly::Impl::Event
- Inherits:
-
Object
- Object
- LaunchDarkly::Impl::Event
- Defined in:
- lib/ldclient-rb/impl/event_types.rb
Overview
Direct Known Subclasses
CustomEvent, DebugEvent, EvalEvent, IdentifyEvent, IndexEvent
Instance Attribute Summary collapse
- #context ⇒ LaunchDarkly::LDContext readonly
- #timestamp ⇒ Integer readonly
Instance Method Summary collapse
-
#initialize(timestamp, context) ⇒ Event
constructor
A new instance of Event.
Constructor Details
#initialize(timestamp, context) ⇒ Event
Returns a new instance of Event.
6 7 8 9 |
# File 'lib/ldclient-rb/impl/event_types.rb', line 6 def initialize(, context) @timestamp = @context = context end |
Instance Attribute Details
#context ⇒ LaunchDarkly::LDContext (readonly)
14 15 16 |
# File 'lib/ldclient-rb/impl/event_types.rb', line 14 def context @context end |
#timestamp ⇒ Integer (readonly)
12 13 14 |
# File 'lib/ldclient-rb/impl/event_types.rb', line 12 def @timestamp end |