Sha256: 7c70375f03e0811e40b391e25c92a90baed17713944fd57566e78b900a42284c
Contents?: true
Size: 664 Bytes
Versions: 1
Compression:
Stored size: 664 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, :rabbitmq_exchange_name, :automatically_recover, :network_recovery_interval, :recovery_attempts, :orm def orm @orm ||= :activerecord end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rabbit_carrots-1.0.2 | lib/rabbit_carrots/configuration.rb |