Class: Lookbook::Connection

Inherits:
ActionCable::Connection::Base
  • Object
show all
Defined in:
lib/lookbook/cable/connection.rb

Instance Method Summary collapse

Instance Method Details

#connectObject



5
6
7
8
9
# File 'lib/lookbook/cable/connection.rb', line 5

def connect
  self.uid = request.params[:uid]
  logger.add_tags(uid)
  logger.info "connected to Lookbook"
end