Class: LaunchDarkly::Interfaces::Hooks::EvaluationSeriesContext

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

Overview

Contextual information that will be provided to handlers during evaluation series.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key, context, default_value, method) ⇒ EvaluationSeriesContext

Returns a new instance of EvaluationSeriesContext.

Parameters:



965
966
967
968
969
970
# File 'lib/ldclient-rb/interfaces.rb', line 965

def initialize(key, context, default_value, method)
  @key = key
  @context = context
  @default_value = default_value
  @method = method
end

Instance Attribute Details

#contextObject (readonly)

Returns the value of attribute context.



955
956
957
# File 'lib/ldclient-rb/interfaces.rb', line 955

def context
  @context
end

#default_valueObject (readonly)

Returns the value of attribute default_value.



956
957
958
# File 'lib/ldclient-rb/interfaces.rb', line 956

def default_value
  @default_value
end

#keyObject (readonly)

Returns the value of attribute key.



954
955
956
# File 'lib/ldclient-rb/interfaces.rb', line 954

def key
  @key
end

#methodObject (readonly)

Returns the value of attribute method.



957
958
959
# File 'lib/ldclient-rb/interfaces.rb', line 957

def method
  @method
end