Sha256: d1cb3b9e9abadb2b50a92fffe8de96eb8880860fb07642bc714b176c7067db21

Contents?: true

Size: 358 Bytes

Versions: 8

Compression:

Stored size: 358 Bytes

Contents

module RabbitCarrots
  class << self
    attr_accessor :configuration
  end

  def self.configure
    self.configuration ||= Configuration.new
    yield(configuration)
  end

  class Configuration
    attr_accessor :rabbitmq_host, :rabbitmq_port, :rabbitmq_user, :rabbitmq_password, :rabbitmq_vhost, :routing_key_mappings, :event_bus_exchange_name
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rabbit_carrots-0.1.19 lib/rabbit_carrots/configuration.rb
rabbit_carrots-0.1.18 lib/rabbit_carrots/configuration.rb
rabbit_carrots-0.1.17 lib/rabbit_carrots/configuration.rb
rabbit_carrots-0.1.16 lib/rabbit_carrots/configuration.rb
rabbit_carrots-0.1.15 lib/rabbit_carrots/configuration.rb
rabbit_carrots-0.1.14 lib/rabbit_carrots/configuration.rb
rabbit_carrots-0.1.13 lib/rabbit_carrots/configuration.rb
rabbit_carrots-0.1.12 lib/rabbit_carrots/configuration.rb