Class: Materialist::Configuration
- Inherits:
-
Object
- Object
- Materialist::Configuration
- Defined in:
- lib/configuration.rb
Defined Under Namespace
Classes: NullMetricsClient
Instance Attribute Summary collapse
-
#metrics_client ⇒ Object
Returns the value of attribute metrics_client.
-
#notice_error ⇒ Object
Returns the value of attribute notice_error.
-
#sidekiq_options ⇒ Object
Returns the value of attribute sidekiq_options.
-
#topics ⇒ Object
Returns the value of attribute topics.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
19 20 21 22 23 24 |
# File 'lib/configuration.rb', line 19 def initialize @topics = [] @sidekiq_options = {} @metrics_client = NullMetricsClient @notice_error = nil end |
Instance Attribute Details
#metrics_client ⇒ Object
Returns the value of attribute metrics_client.
17 18 19 |
# File 'lib/configuration.rb', line 17 def metrics_client @metrics_client end |
#notice_error ⇒ Object
Returns the value of attribute notice_error.
17 18 19 |
# File 'lib/configuration.rb', line 17 def notice_error @notice_error end |
#sidekiq_options ⇒ Object
Returns the value of attribute sidekiq_options.
17 18 19 |
# File 'lib/configuration.rb', line 17 def @sidekiq_options end |
#topics ⇒ Object
Returns the value of attribute topics.
17 18 19 |
# File 'lib/configuration.rb', line 17 def topics @topics end |