diff options
Diffstat (limited to 'lib/action_cable.rb')
-rw-r--r-- | lib/action_cable.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/action_cable.rb b/lib/action_cable.rb index 89ffa1fda7..3919812161 100644 --- a/lib/action_cable.rb +++ b/lib/action_cable.rb @@ -5,6 +5,16 @@ require 'action_cable/version' module ActionCable extend ActiveSupport::Autoload + INTERNAL = { + identifiers: { + ping: '_ping'.freeze + }, + message_types: { + confirmation: 'confirm_subscription'.freeze, + rejection: 'reject_subscription'.freeze + } + } + # Singleton instance of the server module_function def server @server ||= ActionCable::Server::Base.new |