Sha256: 6af580127f32e5e5df6ec483c7950d9c1f3c2f11a0f51f305a1fae779ed95ce0
Contents?: true
Size: 271 Bytes
Versions: 4
Compression:
Stored size: 271 Bytes
Contents
class AppearanceChannel < ApplicationCable::Channel def subscribed current_user.appear end def unsubscribed current_user.disappear end def appear(data) current_user.appear on: data['appearing_on'] end def away current_user.away end end
Version data entries
4 entries across 4 versions & 1 rubygems