Module: TxghQueue::Backends

Defined in:
lib/txgh-queue/backends.rb,
lib/txgh-queue/backends/sqs.rb,
lib/txgh-queue/backends/null.rb,
lib/txgh-queue/backends/sqs/job.rb,
lib/txgh-queue/backends/sqs/queue.rb,
lib/txgh-queue/backends/sqs/config.rb,
lib/txgh-queue/backends/sqs/consumer.rb,
lib/txgh-queue/backends/sqs/producer.rb,
lib/txgh-queue/backends/sqs/retry_logic.rb,
lib/txgh-queue/backends/sqs/history_sequence.rb,
lib/txgh-queue/backends/sqs/message_attributes.rb

Defined Under Namespace

Modules: Null, Sqs Classes: BackendNotConfiguredError

Class Method Summary collapse

Class Method Details

.allObject



17
18
19
# File 'lib/txgh-queue/backends.rb', line 17

def all
  @all ||= {}
end

.get(name) ⇒ Object



13
14
15
# File 'lib/txgh-queue/backends.rb', line 13

def get(name)
  all[name]
end

.register(name, klass) ⇒ Object



9
10
11
# File 'lib/txgh-queue/backends.rb', line 9

def register(name, klass)
  all[name] = klass
end