Module: ResqueManager

Defined in:
lib/resque_manager.rb,
lib/resque_manager/engine.rb,
lib/resque_manager/version.rb,
app/models/resque_manager/paginate.rb,
app/helpers/resque_manager/resque_helper.rb,
app/helpers/resque_manager/application_helper.rb,
app/controllers/resque_manager/resque_controller.rb

Defined Under Namespace

Modules: ApplicationHelper, ResqueHelper Classes: Engine, Paginate, ResqueController

Constant Summary collapse

VERSION =
"3.3.13"
@@applications =
nil
@@redis_config =
"SET TO RESQUE'S REDIS CONFIGURATION HASH"
@@key_expiration =
nil

Class Method Summary collapse

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (ResqueManager)

    the object that the method was called on



56
57
58
59
60
61
# File 'lib/resque_manager.rb', line 56

def self.configure
  yield self
  Resque.redis = Redis.new(redis_config)
  Resque::Plugins::Status::Hash.expire_in = key_expiration
  Resque.inline = inline
end