Module: PerfectQueue::BackendHelper
- Included in:
- PerfectQueue::Backend::RDBCompatBackend
- Defined in:
- lib/perfectqueue/backend.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
Instance Method Summary collapse
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
42 43 44 |
# File 'lib/perfectqueue/backend.rb', line 42 def client @client end |
Instance Method Details
#close ⇒ Object
44 45 46 |
# File 'lib/perfectqueue/backend.rb', line 44 def close # do nothing by default end |
#initialize(client, config) ⇒ Object
37 38 39 40 |
# File 'lib/perfectqueue/backend.rb', line 37 def initialize(client, config) @client = client @config = config end |