Sha256: 8258655c8e11db5023be601d1f4f5c570d6cdc67250b727ab9f6c944856b8d5f

Contents?: true

Size: 661 Bytes

Versions: 15

Compression:

Stored size: 661 Bytes

Contents

WebsocketRails::EventMap.describe do
  # You can use this file to map incoming events to controller actions.
  # One event can be mapped to any number of controller actions. The
  # actions will be executed in the order they were subscribed.
  #
  # Uncomment and edit the next line to handle the client connected event:
  #   subscribe :client_connected, :to => Controller, :with_method => :method_name
  #
  # Here is an example of mapping namespaced events:
  #   namespace :product do
  #     subscribe :new, :to => ProductController, :with_method => :new_product
  #   end
  # The above will handle an event triggered on the client like `product.new`.
end

Version data entries

15 entries across 15 versions & 3 rubygems

Version Path
hkroger-websocket-rails-0.7.1 lib/generators/websocket_rails/install/templates/events.rb
wwl-websocket-rails-0.7.3 lib/generators/websocket_rails/install/templates/events.rb
wwl-websocket-rails-0.7.2 lib/generators/websocket_rails/install/templates/events.rb
wwl-websocket-rails-0.7.1 lib/generators/websocket_rails/install/templates/events.rb
websocket-rails-0.7.0 lib/generators/websocket_rails/install/templates/events.rb
websocket-rails-0.6.2 lib/generators/websocket_rails/install/templates/events.rb
websocket-rails-0.6.1 lib/generators/websocket_rails/install/templates/events.rb
websocket-rails-0.6.0 lib/generators/websocket_rails/install/templates/events.rb
websocket-rails-0.5.0 lib/generators/websocket_rails/install/templates/events.rb
websocket-rails-0.1.9 lib/generators/websocket_rails/install/templates/events.rb
websocket-rails-0.1.8 lib/generators/websocket_rails/install/templates/events.rb
websocket-rails-0.1.7 lib/generators/websocket_rails/install/templates/events.rb
websocket-rails-0.1.6 lib/generators/websocket_rails/install/templates/events.rb
websocket-rails-0.1.5 lib/generators/websocket_rails/install/templates/events.rb
websocket-rails-0.1.4 lib/generators/websocket_rails/install/templates/events.rb