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, user) ⇒ Event

Returns a new instance of Event.

Since:

  • 5.5.0



4
5
6
7
# File 'lib/ldclient-rb/impl/event_types.rb', line 4

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

Instance Attribute Details

#kindObject (readonly)

Since:

  • 5.5.0



10
11
12
# File 'lib/ldclient-rb/impl/event_types.rb', line 10

def kind
  @kind
end

#timestampObject (readonly)

Since:

  • 5.5.0



9
10
11
# File 'lib/ldclient-rb/impl/event_types.rb', line 9

def timestamp
  @timestamp
end

#userObject (readonly)

Since:

  • 5.5.0



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

def user
  @user
end