Sha256: 2bc0773f65febff6ee28693bcb401d6a1afd08267ea3d0fda206900a131eacd0
Contents?: true
Size: 416 Bytes
Versions: 3
Compression:
Stored size: 416 Bytes
Contents
# frozen_string_literal: true module RabbitmqClient # ExchangeRegistry is a store for all managed exchanges and their details class TagsFilter def self.tags config = RabbitmqClient.config global_store = config.global_store return unless global_store global_store.store.select do |key, _value| Array(config.whitelist).include? key.downcase.to_sym end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rabbitmq_client-0.0.3 | lib/rabbitmq_client/tags_filter.rb |
rabbitmq_client-0.0.2 | lib/rabbitmq_client/tags_filter.rb |
rabbitmq_client-0.0.1 | lib/rabbitmq_client/tags_filter.rb |