Module: Alephant::Publisher

Extended by:
Support::AOP
Includes:
Logger
Defined in:
lib/alephant/publisher.rb,
lib/alephant/publisher/writer.rb,
lib/alephant/publisher/options.rb,
lib/alephant/publisher/version.rb,
lib/alephant/publisher/processor.rb,
lib/alephant/publisher/render_mapper.rb,
lib/alephant/publisher/processor/base.rb,
lib/alephant/publisher/sqs_helper/queue.rb,
lib/alephant/publisher/sqs_helper/archiver.rb

Defined Under Namespace

Modules: SQSHelper Classes: BaseProcessor, InvalidKeySpecifiedError, Options, Processor, Publisher, RenderMapper, Writer

Constant Summary collapse

VERSION =
"0.5.1"

Class Method Summary collapse

Class Method Details

.create(opts = {}, processor = nil) ⇒ Object



16
17
18
19
# File 'lib/alephant/publisher.rb', line 16

def self.create(opts = {}, processor = nil)
  processor ||= Processor.new(opts.writer)
  Publisher.new(opts, processor)
end