lib/avromatic.rb in avromatic-0.1.1 vs lib/avromatic.rb in avromatic-0.1.2.pre.rc0
- old
+ new
@@ -26,8 +26,12 @@
AvroTurf::Messaging.new(
registry_url: Avromatic.registry_url,
schema_store: Avromatic.schema_store,
logger: Avromatic.logger)
end
+
+ def self.build_messaging!
+ self.messaging = build_messaging
+ end
end
require 'avromatic/railtie' if defined?(Rails)