lib/rrj/tools/gem/config.rb in ruby_rabbitmq_janus-2.5.1 vs lib/rrj/tools/gem/config.rb in ruby_rabbitmq_janus-2.6.0.pre.226

- old
+ new

@@ -74,9 +74,18 @@ @options['queues']['admin']['to'].to_s rescue raise Errors::Tools::Config::QueueAdminTo end + # Get to name queue JanusInstance + # + # @return [String] read configuration for queue janus instance + def queue_janus_instance + @options['queues']['instance'].to_s + rescue + raise Errors::Tools::Config::QueueJanusInstance + end + # @return [Symbol] read configuration for log level used in this gem def log_level @options['gem']['log']['level'].upcase.to_sym || :INFO rescue raise Errors::Tools::Config::LogLevel