Advertisement
Guest User

Untitled

a guest
Sep 27th, 2018
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. if config.key?('subscriptions') && @event['client'].key?('subscriptions')
  2. @event['client']['subscriptions'].each do |subscription_config|
  3. next unless config['subscriptions'].key?(subscription_config)
  4. add_config_item(config['subscriptions'][subscription_config])
  5. end
  6. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement