Class: LaunchDarkly::Impl::Event

Inherits:
Object
  • Object
show all
Defined in:
lib/ldclient-rb/impl/event_types.rb

Overview

Since:

  • 5.5.0

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(timestamp, context) ⇒ Event

Returns a new instance of Event.

Parameters:

Since:

  • 5.5.0



6
7
8
9
# File 'lib/ldclient-rb/impl/event_types.rb', line 6

def initialize(timestamp, context)
  @timestamp = timestamp
  @context = context
end

Instance Attribute Details

#contextLaunchDarkly::LDContext (readonly)

Returns:

Since:

  • 5.5.0



14
15
16
# File 'lib/ldclient-rb/impl/event_types.rb', line 14

def context
  @context
end

#timestampInteger (readonly)

Returns:

  • (Integer)

Since:

  • 5.5.0



12
13
14
# File 'lib/ldclient-rb/impl/event_types.rb', line 12

def timestamp
  @timestamp
end