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.3.4 lib/lookbook/cable/connection.rb
lookbook-2.3.3 lib/lookbook/cable/connection.rb
lookbook-2.3.2 lib/lookbook/cable/connection.rb
lookbook-2.3.0 lib/lookbook/cable/connection.rb
lookbook-2.2.2 lib/lookbook/cable/connection.rb
lookbook-2.2.1 lib/lookbook/cable/connection.rb
lookbook-2.2.0 lib/lookbook/cable/connection.rb
lookbook-2.1.1 lib/lookbook/cable/connection.rb
lookbook-2.1.0 lib/lookbook/cable/connection.rb
lookbook-2.0.5 lib/lookbook/cable/connection.rb
lookbook-2.0.4 lib/lookbook/cable/connection.rb
lookbook-2.0.3 lib/lookbook/cable/connection.rb
lookbook-2.0.2 lib/lookbook/cable/connection.rb
lookbook-2.0.1 lib/lookbook/cable/connection.rb
lookbook-2.0.0 lib/lookbook/cable/connection.rb
lookbook-2.0.0.rc.3 lib/lookbook/cable/connection.rb
lookbook-1.5.5 app/channels/lookbook/connection.rb
lookbook-1.5.4 app/channels/lookbook/connection.rb
lookbook-2.0.0.rc.2 lib/lookbook/cable/connection.rb
lookbook-2.0.0.rc.1 lib/lookbook/cable/connection.rb