Module: Resque::Plugins::RealSerialQueues

Defined in:
lib/resque/plugins/version.rb,
lib/resque/plugins/real_serial_queues.rb

Defined Under Namespace

Classes: InvalidConfigurationError

Constant Summary collapse

VERSION =
"0.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.non_serial_queuesObject

Returns the value of attribute non_serial_queues.



53
54
55
# File 'lib/resque/plugins/real_serial_queues.rb', line 53

def non_serial_queues
  @non_serial_queues
end

Class Method Details

.config=(config_hash) ⇒ Object



56
57
58
59
60
61
# File 'lib/resque/plugins/real_serial_queues.rb', line 56

def self.config=(config_hash)
  if config_hash
    self.check_if_config_is_valid(config_hash)
    self.non_serial_queues = config_hash[:non_serial_queues]
  end
end