Class: RabbitmqClient::TagsFilter

Inherits:
Object
  • Object
show all
Defined in:
lib/rabbitmq_client/tags_filter.rb

Overview

ExchangeRegistry is a store for all managed exchanges and their details

Class Method Summary collapse

Class Method Details

.tagsObject



6
7
8
9
10
11
12
13
14
# File 'lib/rabbitmq_client/tags_filter.rb', line 6

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