Class: CableRoom::DummyConnection

Inherits:
Object
  • Object
show all
Defined in:
lib/cable_room/channel_base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(channel) ⇒ DummyConnection

Returns a new instance of DummyConnection.



242
243
244
245
# File 'lib/cable_room/channel_base.rb', line 242

def initialize(channel)
  @channel = channel
  @identifiers = []
end

Instance Attribute Details

#channelObject (readonly)

Returns the value of attribute channel.



235
236
237
# File 'lib/cable_room/channel_base.rb', line 235

def channel
  @channel
end

#identifiersObject (readonly)

Returns the value of attribute identifiers.



240
241
242
# File 'lib/cable_room/channel_base.rb', line 240

def identifiers
  @identifiers
end