Class: Sidekiq::Logstash::Configuration
- Inherits:
-
Object
- Object
- Sidekiq::Logstash::Configuration
- Defined in:
- lib/sidekiq/logstash/configuration.rb
Overview
Class that allows to configure the gem behaviour.
Instance Attribute Summary collapse
-
#custom_options ⇒ Object
Returns the value of attribute custom_options.
-
#filter_args ⇒ Object
Returns the value of attribute filter_args.
-
#job_start_log ⇒ Object
Returns the value of attribute job_start_log.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
9 10 11 12 |
# File 'lib/sidekiq/logstash/configuration.rb', line 9 def initialize @filter_args = [] @job_start_log = false end |
Instance Attribute Details
#custom_options ⇒ Object
Returns the value of attribute custom_options.
7 8 9 |
# File 'lib/sidekiq/logstash/configuration.rb', line 7 def @custom_options end |
#filter_args ⇒ Object
Returns the value of attribute filter_args.
7 8 9 |
# File 'lib/sidekiq/logstash/configuration.rb', line 7 def filter_args @filter_args end |
#job_start_log ⇒ Object
Returns the value of attribute job_start_log.
7 8 9 |
# File 'lib/sidekiq/logstash/configuration.rb', line 7 def job_start_log @job_start_log end |