Class: Rworkflow::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



6
7
8
# File 'lib/rworkflow/configuration.rb', line 6

def initialize
  @sidekiq_perform_async = true
end

Instance Attribute Details

#sidekiq_perform_asyncBool

Returns whether sidekiq jobs should be asynchronous.

Returns:

  • (Bool)

    whether sidekiq jobs should be asynchronous



4
5
6
# File 'lib/rworkflow/configuration.rb', line 4

def sidekiq_perform_async
  @sidekiq_perform_async
end