lib/websocket_rails/configuration.rb in websocket-rails-0.4.9 vs lib/websocket_rails/configuration.rb in websocket-rails-0.5.0

- old
+ new

@@ -1,7 +1,15 @@ module WebsocketRails class Configuration + def user_identifier + @user_identifier ||= :id + end + + def user_identifier=(identifier) + @user_identifier = identifier + end + def keep_subscribers_when_private? @keep_subscribers_when_private ||= false end def keep_subscribers_when_private=(value)