module Noticer

Constants

VERSION

Attributes

configuration[RW]

Public Class Methods

configure() { |configuration| ... } click to toggle source
# File lib/noticer.rb, line 13
def configure
  yield(configuration)
end
emit(routing_key, message) click to toggle source
# File lib/noticer.rb, line 17
def emit(routing_key, message)
  @dispatcher ||= Dispatcher.new(configuration)
  @dispatcher.emit(routing_key, message)
end