module Atr

Constants

VERSION

Attributes

config[RW]
configuration[RW]

Public Class Methods

channels() click to toggle source
# File lib/atr.rb, line 30
def self.channels
  ::Atr::Registry.channels
end
configure() { |configuration| ... } click to toggle source
# File lib/atr.rb, line 34
def self.configure
  self.configuration ||= ::Atr::Config.new

  yield(configuration)

  ::ActiveSupport.run_load_hooks(:atr, self)
end
publish_event(event) click to toggle source
# File lib/atr.rb, line 26
def self.publish_event(event)
  ::Celluloid::Actor[:atr_publisher].publish_event(event)
end