# File lib/faye-rails/rack_adapter.rb, line 132 def take_action_for(message, callback, test='') if @mappings.keys.select { |glob| FayeRails::Matcher.match? glob, test }.size > 0 callback.call(message) elsif @default == :block message['error'] = "Permission denied" callback.call(message) elsif @default == :drop callback.call(nil) elsif @default == :allow callback.call(message) else callback.call(nil) end end