Class: RabbitMQSpec::Setup
- Inherits:
-
Object
- Object
- RabbitMQSpec::Setup
- Defined in:
- lib/rabbitmq-spec/setup.rb
Overview
Does the AMPQ Broker setup by reading all mqspecs files, evaluating them and connecting to the broker using the provided url in order to create all exchanges, queues and bindings
Defined Under Namespace
Modules: WorldFetcher, WorldSetupper Classes: Runner
Class Method Summary collapse
Class Method Details
.run(files_paths:, url:) ⇒ void
14 15 16 17 18 |
# File 'lib/rabbitmq-spec/setup.rb', line 14 def run(files_paths:, url:) with_client(url) do |client| RabbitMQSpec::Setup::Runner.new(files_paths, client).run end end |