Module: Devise::Async::Stretch
- Defined in:
- lib/devise/async/stretch.rb,
lib/devise/async/stretch/worker.rb,
lib/devise/async/stretch/backend.rb,
lib/devise/async/stretch/version.rb,
lib/devise/async/stretch/backend/base.rb,
lib/devise/async/stretch/backend/sidekiq.rb,
lib/devise/async/stretch/backend/active_job.rb,
lib/devise/async/stretch/backend/delayed_job.rb,
lib/generators/devise/async/stretch/install_generator.rb
Defined Under Namespace
Modules: Backend Classes: InstallGenerator, Worker
Constant Summary collapse
- VERSION =
"0.0.5"- @@backend =
:sidekiq- @@queue =
:default- @@enabled =
true- @@intermediate_stretch =
1
Class Method Summary collapse
-
.setup {|_self| ... } ⇒ Object
Allow configuring Devise::Async::Stretch with a block.
Class Method Details
.setup {|_self| ... } ⇒ Object
Allow configuring Devise::Async::Stretch with a block
Example:
Devise::Async::Stretch.setup do |config|
config.backend = :resque
config.queue = :my_custom_queue
end
51 52 53 |
# File 'lib/devise/async/stretch.rb', line 51 def self.setup yield self end |