Methods
N
T
Attributes
[R] id
[R] name
Class Public methods
new(id, name='Campfire')
# File actioncable/test/stubs/room.rb, line 4
def initialize(id, name='Campfire')
  @id = id
  @name = name
end
Instance Public methods
to_gid_param()
# File actioncable/test/stubs/room.rb, line 13
def to_gid_param
  to_global_id.to_param
end
to_global_id()
# File actioncable/test/stubs/room.rb, line 9
def to_global_id
  GlobalID.new("Room##{id}-#{name}")
end