Module: MultipleMan

Defined in:
lib/multiple_man_sidekiq/configuration.rb,
lib/multiple_man_sidekiq/async_model_publisher.rb,
lib/multiple_man_sidekiq/mixins/async_publisher.rb,
lib/multiple_man_sidekiq/middleware/sidekiq_middleware.rb

Defined Under Namespace

Modules: AsyncPublisher Classes: AsyncModelPublisher, Configuration, ModelPublisherJob, SidekiqMiddleware

Class Method Summary collapse

Class Method Details

.configurationObject


14
15
16
# File 'lib/multiple_man_sidekiq/configuration.rb', line 14

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:


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

def self.configure
  yield(configuration) if block_given?
end