Sha256: 4f3fb4c109080cfc923a0fdc5fa696dff21d854ef15258d2fb20bc112226bf3b
Contents?: true
Size: 323 Bytes
Versions: 18
Compression:
Stored size: 323 Bytes
Contents
module FakeSQS class QueueFactory attr_reader :message_factory, :queue def initialize(options = {}) @message_factory = options.fetch(:message_factory) @queue = options.fetch(:queue) end def new(options) queue.new(options.merge(:message_factory => message_factory)) end end end
Version data entries
18 entries across 18 versions & 1 rubygems