Sha256: 15fa67e66509dfb324022203cf2cad5b194c66b0c7834297f2346c9e426b0cfb

Contents?: true

Size: 232 Bytes

Versions: 126

Compression:

Stored size: 232 Bytes

Contents

module Lookbook
  class Connection < ActionCable::Connection::Base
    identified_by :uid

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

Version data entries

126 entries across 126 versions & 1 rubygems

Version Path
lookbook-2.0.0.beta.9 lib/lookbook/cable/connection.rb
lookbook-2.0.0.beta.8 lib/lookbook/cable/connection.rb
lookbook-2.0.0.beta.7 lib/lookbook/cable/connection.rb
lookbook-2.0.0.beta.6 lib/lookbook/cable/connection.rb
lookbook-2.0.0.beta.5 lib/lookbook/cable/connection.rb
lookbook-2.0.0.beta.4 lib/lookbook/cable/connection.rb
lookbook-2.0.0.beta.3 lib/lookbook/cable/connection.rb
lookbook-2.0.0.beta.2 lib/lookbook/cable/connection.rb
lookbook-1.5.3 app/channels/lookbook/connection.rb
lookbook-2.0.0.beta.1 lib/lookbook/cable/connection.rb
lookbook-1.5.2 app/channels/lookbook/connection.rb
lookbook-2.0.0.beta.0 lib/lookbook/cable/connection.rb
lookbook-1.5.1 app/channels/lookbook/connection.rb
lookbook-1.5.0 app/channels/lookbook/connection.rb
lookbook-1.4.5 app/channels/lookbook/connection.rb
lookbook-1.4.4 app/channels/lookbook/connection.rb
lookbook-1.4.3 app/channels/lookbook/connection.rb
lookbook-1.4.2 app/channels/lookbook/connection.rb
lookbook-1.4.1 app/channels/lookbook/connection.rb
lookbook-1.4.0 app/channels/lookbook/connection.rb