Class: LaunchDarkly::Interfaces::FlagChange

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

Overview

Change event fired when some aspect of the flag referenced by the key has changed.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key) ⇒ FlagChange

Returns a new instance of FlagChange.

Parameters:

  • key (Symbol)


247
248
249
# File 'lib/ldclient-rb/interfaces.rb', line 247

def initialize(key)
  @key = key
end

Instance Attribute Details

#keyObject

Returns the value of attribute key.



244
245
246
# File 'lib/ldclient-rb/interfaces.rb', line 244

def key
  @key
end