Class: Resque::Plugins::SerialQueues::Config
- Defined in:
- lib/resque/plugins/serial_queues/config.rb
Instance Attribute Summary collapse
-
#lock_timeout ⇒ Object
Returns the value of attribute lock_timeout.
-
#serial_queues ⇒ Object
Returns the value of attribute serial_queues.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
8 9 10 11 |
# File 'lib/resque/plugins/serial_queues/config.rb', line 8 def initialize self.serial_queues = [] self.lock_timeout = 60*60 end |
Instance Attribute Details
#lock_timeout ⇒ Object
Returns the value of attribute lock_timeout.
6 7 8 |
# File 'lib/resque/plugins/serial_queues/config.rb', line 6 def lock_timeout @lock_timeout end |
#serial_queues ⇒ Object
Returns the value of attribute serial_queues.
5 6 7 |
# File 'lib/resque/plugins/serial_queues/config.rb', line 5 def serial_queues @serial_queues end |