Class: Materialist::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/configuration.rb

Defined Under Namespace

Classes: NullMetricsClient

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_clientObject

Returns the value of attribute metrics_client.



17
18
19
# File 'lib/configuration.rb', line 17

def metrics_client
  @metrics_client
end

#notice_errorObject

Returns the value of attribute notice_error.



17
18
19
# File 'lib/configuration.rb', line 17

def notice_error
  @notice_error
end

#sidekiq_optionsObject

Returns the value of attribute sidekiq_options.



17
18
19
# File 'lib/configuration.rb', line 17

def sidekiq_options
  @sidekiq_options
end

#topicsObject

Returns the value of attribute topics.



17
18
19
# File 'lib/configuration.rb', line 17

def topics
  @topics
end