Module: Alephant::Publisher

Extended by:
Support::AOP
Includes:
Logger
Defined in:
lib/alephant/publisher.rb,
lib/alephant/publisher/views.rb,
lib/alephant/publisher/writer.rb,
lib/alephant/publisher/options.rb,
lib/alephant/publisher/version.rb,
lib/alephant/publisher/processor.rb,
lib/alephant/publisher/views/base.rb,
lib/alephant/publisher/views/html.rb,
lib/alephant/publisher/views/json.rb,
lib/alephant/publisher/view_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, Views Classes: BaseProcessor, InvalidKeySpecifiedError, Options, Processor, Publisher, ViewMapper, Writer

Constant Summary collapse

VERSION =
"0.6.4"

Class Method Summary collapse

Class Method Details

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



19
20
21
22
# File 'lib/alephant/publisher.rb', line 19

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