Sha256: 39e268c86e5a457cfcdfe50006466e7d4a0327de9c8c7b07600b5a30e40f9df9
Contents?: true
Size: 1.12 KB
Versions: 9
Compression:
Stored size: 1.12 KB
Contents
# frozen_string_literal: true module RubyRabbitmqJanus module Tools # Subclass for Config # # Options about Queues # # @see RubyRabbitmqJanus::Tools::Config module ConfigQueues # @return [String] Get to name queue_from (pattern) def queue_from @options['queues']['standard']['from'].to_s rescue StandardError raise RubyRabbitmqJanus::Errors::Tools::QueueFrom end # @return [String] Get to name queue_to (pattern) def queue_to @options['queues']['standard']['to'].to_s rescue StandardError raise RubyRabbitmqJanus::Errors::Tools::QueueTo end # @return [String] Get to name queue_admin_from (pattern) def queue_admin_from @options['queues']['admin']['from'].to_s rescue StandardError raise RubyRabbitmqJanus::Errors::Tools::QueueAdminFrom end # @return [String] Get to name queue_admin_from (pattern) def queue_admin_to @options['queues']['admin']['to'].to_s rescue StandardError raise RubyRabbitmqJanus::Errors::Tools::QueueAdminTo end end end end
Version data entries
9 entries across 9 versions & 1 rubygems