Class: Whatup::Server::Room

Inherits:
ApplicationRecord show all
Defined in:
lib/whatup/server/models/room.rb

Instance Method Summary collapse

Instance Method Details

#drop_client!(client) ⇒ Object



12
13
14
# File 'lib/whatup/server/models/room.rb', line 12

def drop_client! client
  client.update! room_id: nil
end