Sha256: 7fc8e541375137f14ef11c8f4ddf88a3b45d797958fe630caa97865419481810

Contents?: true

Size: 267 Bytes

Versions: 9

Compression:

Stored size: 267 Bytes

Contents

# frozen_string_literal: true

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

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
proscenium-0.6.0-arm64-darwin app/channels/proscenium/connection.rb
proscenium-0.6.0-x86_64-darwin app/channels/proscenium/connection.rb
proscenium-0.6.0-x86_64-linux app/channels/proscenium/connection.rb
proscenium-0.5.1-arm64-darwin app/channels/proscenium/connection.rb
proscenium-0.5.1-x86_64-darwin app/channels/proscenium/connection.rb
proscenium-0.5.1-x86_64-linux app/channels/proscenium/connection.rb
proscenium-0.5.0-arm64-darwin app/channels/proscenium/connection.rb
proscenium-0.5.0-x86_64-darwin app/channels/proscenium/connection.rb
proscenium-0.5.0-x86_64-linux app/channels/proscenium/connection.rb