Sha256: 9acf9855121bc3833ec17a5c4d9fc6116ca297f72715373adf80b1dc9c629ba3

Contents?: true

Size: 451 Bytes

Versions: 28

Compression:

Stored size: 451 Bytes

Contents

WebsocketRails::EventMap.describe do
  subscribe :client_connected, :to => ChatController, :with_method => :client_connected
  subscribe :new_message, :to => ChatController, :with_method => :new_message
  subscribe :new_user, :to => ChatController, :with_method => :new_user
  subscribe :change_username, :to => ChatController, :with_method => :change_username
  subscribe :client_disconnected, :to => ChatController, :with_method => :delete_user
end

Version data entries

28 entries across 28 versions & 3 rubygems

Version Path
websocket-rails-0.2.1 spec/dummy/config/initializers/events.rb
websocket-rails-0.2.0 spec/dummy/config/initializers/events.rb
websocket-rails-0.1.9 spec/dummy/config/initializers/events.rb
websocket-rails-0.1.8 spec/dummy/config/initializers/events.rb
websocket-rails-0.1.7 spec/dummy/config/initializers/events.rb
websocket-rails-0.1.6 spec/dummy/config/initializers/events.rb
websocket-rails-0.1.5 spec/dummy/config/initializers/events.rb
websocket-rails-0.1.4 spec/dummy/config/initializers/events.rb