Class: LogStash::Api::Modules::Base
- Inherits:
- 
      Sinatra::Base
      
        - Object
- Sinatra::Base
- LogStash::Api::Modules::Base
 
- Includes:
- Util::Loggable
- Defined in:
- lib/logstash/api/modules/base.rb
Instance Attribute Summary collapse
- 
  
    
      #agent  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute agent. 
- 
  
    
      #factory  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute factory. 
Instance Method Summary collapse
- 
  
    
      #initialize(app = nil, agent)  ⇒ Base 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Base. 
Methods included from Util::Loggable
included, #logger, #slow_logger
Constructor Details
Instance Attribute Details
#agent ⇒ Object (readonly)
Returns the value of attribute agent.
| 21 22 23 | # File 'lib/logstash/api/modules/base.rb', line 21 def agent @agent end | 
#factory ⇒ Object (readonly)
Returns the value of attribute factory.
| 21 22 23 | # File 'lib/logstash/api/modules/base.rb', line 21 def factory @factory end |