class Sidekiq::Logstash::Configuration
Class that allows to configure the gem behaviour.
Attributes
custom_options[RW]
filter_args[RW]
job_start_log[RW]
Public Class Methods
new()
click to toggle source
# File lib/sidekiq/logstash/configuration.rb, line 9 def initialize @filter_args = [] @job_start_log = false end
Public Instance Methods
custom_options=(proc)
click to toggle source
Added to ensure custom_options
is a Proc
# File lib/sidekiq/logstash/configuration.rb, line 15 def custom_options=(proc) raise ArgumentError, 'Argument must be a Proc.' unless proc.is_a?(Proc) @custom_options = proc end