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.8"
@@applicataions =
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


41
42
43
44
45
46
# File 'lib/resque_manager.rb', line 41

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