Class: LaunchDarkly::Interfaces::Hooks::EvaluationSeriesContext
- Inherits:
-
Object
- Object
- LaunchDarkly::Interfaces::Hooks::EvaluationSeriesContext
- Defined in:
- lib/ldclient-rb/interfaces.rb
Overview
Contextual information that will be provided to handlers during evaluation series.
Instance Attribute Summary collapse
-
#context ⇒ Object
readonly
Returns the value of attribute context.
-
#default_value ⇒ Object
readonly
Returns the value of attribute default_value.
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#method ⇒ Object
readonly
Returns the value of attribute method.
Instance Method Summary collapse
-
#initialize(key, context, default_value, method) ⇒ EvaluationSeriesContext
constructor
A new instance of EvaluationSeriesContext.
Constructor Details
#initialize(key, context, default_value, method) ⇒ EvaluationSeriesContext
Returns a new instance of EvaluationSeriesContext.
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
#context ⇒ Object (readonly)
Returns the value of attribute context.
955 956 957 |
# File 'lib/ldclient-rb/interfaces.rb', line 955 def context @context end |
#default_value ⇒ Object (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 |
#key ⇒ Object (readonly)
Returns the value of attribute key.
954 955 956 |
# File 'lib/ldclient-rb/interfaces.rb', line 954 def key @key end |
#method ⇒ Object (readonly)
Returns the value of attribute method.
957 958 959 |
# File 'lib/ldclient-rb/interfaces.rb', line 957 def method @method end |