Module: PerfectQueue::BackendHelper

Included in:
PerfectQueue::Backend::RDBCompatBackend
Defined in:
lib/perfectqueue/backend.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#clientObject (readonly)

Returns the value of attribute client.



33
34
35
# File 'lib/perfectqueue/backend.rb', line 33

def client
  @client
end

Instance Method Details

#closeObject



35
36
37
# File 'lib/perfectqueue/backend.rb', line 35

def close
  # do nothing by default
end

#initialize(client, config) ⇒ Object



28
29
30
31
# File 'lib/perfectqueue/backend.rb', line 28

def initialize(client, config)
  @client = client
  @config = config
end