Sha256: 47d6e585006e2678304d75056b7610f13893d46915a8e15538dbcc61a481c7f8

Contents?: true

Size: 940 Bytes

Versions: 38

Compression:

Stored size: 940 Bytes

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
      end

      # @return [String] Get to name queue_to (pattern)
      def queue_to
        @options['queues']['standard']['to'].to_s
      end

      # @return [String] Get to name queue_admin_from (pattern)
      def queue_admin_from
        @options['queues']['admin']['from'].to_s
      end

      # @return [String] Get to name queue_admin_from (pattern)
      def queue_admin_to
        @options['queues']['admin']['to'].to_s
      end

      # @return [String] Get to name queue JanusInstance
      def queue_janus_instance
        @options['queues']['instance'].to_s
      end
    end
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
ruby_rabbitmq_janus-3.0.0.pre.336 lib/rrj/tools/gem/config/queues.rb
ruby_rabbitmq_janus-3.0.0.pre.335 lib/rrj/tools/gem/config/queues.rb
ruby_rabbitmq_janus-3.0.0.pre.334 lib/rrj/tools/gem/config/queues.rb
ruby_rabbitmq_janus-3.0.0.pre.330 lib/rrj/tools/gem/config/queues.rb
ruby_rabbitmq_janus-3.0.0.pre.328 lib/rrj/tools/gem/config/queues.rb
ruby_rabbitmq_janus-3.0.0.pre.327 lib/rrj/tools/gem/config/queues.rb
ruby_rabbitmq_janus-2.7.2 lib/rrj/tools/gem/config/queues.rb
ruby_rabbitmq_janus-2.7.2.pre.322 lib/rrj/tools/gem/config/queues.rb
ruby_rabbitmq_janus-2.7.2.pre.320 lib/rrj/tools/gem/config/queues.rb
ruby_rabbitmq_janus-2.7.2.pre.319 lib/rrj/tools/gem/config/queues.rb
ruby_rabbitmq_janus-2.7.2.pre.318 lib/rrj/tools/gem/config/queues.rb
ruby_rabbitmq_janus-2.7.2.pre.317 lib/rrj/tools/gem/config/queues.rb
ruby_rabbitmq_janus-2.7.2.pre.316 lib/rrj/tools/gem/config/queues.rb
ruby_rabbitmq_janus-2.7.2.pre.315 lib/rrj/tools/gem/config/queues.rb
ruby_rabbitmq_janus-2.7.2.pre.314 lib/rrj/tools/gem/config/queues.rb
ruby_rabbitmq_janus-2.7.2.pre.312 lib/rrj/tools/gem/config/queues.rb
ruby_rabbitmq_janus-2.7.2.pre.310 lib/rrj/tools/gem/config/queues.rb
ruby_rabbitmq_janus-2.7.2.pre.309 lib/rrj/tools/gem/config/queues.rb
ruby_rabbitmq_janus-2.7.2.pre.308 lib/rrj/tools/gem/config/queues.rb
ruby_rabbitmq_janus-2.7.2.pre.307 lib/rrj/tools/gem/config/queues.rb