Module: HyperMesh::AutoConnect
- Defined in:
- lib/synchromesh/policy.rb
Class Method Summary collapse
Class Method Details
.channels(session, acting_user) ⇒ Object
266 267 268 269 270 271 272 273 |
# File 'lib/synchromesh/policy.rb', line 266 def self.channels(session, acting_user) channels = ClassConnectionRegulation.connections_for(acting_user, true) + InstanceConnectionRegulation.connections_for(acting_user, true) channels.each do |channel| Connection.open(channel, session) end channels end |