Class: LaunchDarkly::Interfaces::FlagValueChange
- Inherits:
-
Object
- Object
- LaunchDarkly::Interfaces::FlagValueChange
- Defined in:
- lib/ldclient-rb/interfaces.rb
Overview
Change event fired when the evaluated value for the specified flag key has changed.
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#new_value ⇒ Object
Returns the value of attribute new_value.
-
#old_value ⇒ Object
Returns the value of attribute old_value.
Instance Method Summary collapse
-
#initialize(key, old_value, new_value) ⇒ FlagValueChange
constructor
A new instance of FlagValueChange.
Constructor Details
#initialize(key, old_value, new_value) ⇒ FlagValueChange
Returns a new instance of FlagValueChange.
263 264 265 266 267 |
# File 'lib/ldclient-rb/interfaces.rb', line 263 def initialize(key, old_value, new_value) @key = key @old_value = old_value @new_value = new_value end |
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key.
256 257 258 |
# File 'lib/ldclient-rb/interfaces.rb', line 256 def key @key end |
#new_value ⇒ Object
Returns the value of attribute new_value.
258 259 260 |
# File 'lib/ldclient-rb/interfaces.rb', line 258 def new_value @new_value end |
#old_value ⇒ Object
Returns the value of attribute old_value.
257 258 259 |
# File 'lib/ldclient-rb/interfaces.rb', line 257 def old_value @old_value end |