Class: ActivePubsub::Config
- Inherits:
-
ActiveSupport::InheritableOptions
- Object
- ActiveSupport::InheritableOptions
- ActivePubsub::Config
- Defined in:
- lib/active_pubsub/config.rb
Overview
IMPORTANT ### Set service namespace if your subscriber has namespace set or it wont get events“
Instance Method Summary collapse
-
#initialize(*args) ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize(*args) ⇒ Config
Returns a new instance of Config.
7 8 9 10 11 12 13 |
# File 'lib/active_pubsub/config.rb', line 7 def initialize(*args) super(*args) self[:address] ||= ENV['RABBITMQ_URL'] self[:publish_as] ||= nil self[:service_namespace] ||= nil end |