Class: LaunchDarkly::Interfaces::Hooks::EvaluationSeriesContext
- Inherits:
- 
      Object
      
        - Object
- LaunchDarkly::Interfaces::Hooks::EvaluationSeriesContext
 
- Defined in:
- lib/ldclient-rb/interfaces/hooks.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.
| 79 80 81 82 83 84 | # File 'lib/ldclient-rb/interfaces/hooks.rb', line 79 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.
| 69 70 71 | # File 'lib/ldclient-rb/interfaces/hooks.rb', line 69 def context @context end | 
#default_value ⇒ Object (readonly)
Returns the value of attribute default_value.
| 70 71 72 | # File 'lib/ldclient-rb/interfaces/hooks.rb', line 70 def default_value @default_value end | 
#key ⇒ Object (readonly)
Returns the value of attribute key.
| 68 69 70 | # File 'lib/ldclient-rb/interfaces/hooks.rb', line 68 def key @key end | 
#method ⇒ Object (readonly)
Returns the value of attribute method.
| 71 72 73 | # File 'lib/ldclient-rb/interfaces/hooks.rb', line 71 def method @method end |