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.



257
258
259
260
# File 'lib/cable_room/channel_base.rb', line 257

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

Instance Attribute Details

#channel ⇒ Object (readonly)

Returns the value of attribute channel.



250
251
252
# File 'lib/cable_room/channel_base.rb', line 250

def channel
  @channel
end

#identifiers ⇒ Object (readonly)

Returns the value of attribute identifiers.



255
256
257
# File 'lib/cable_room/channel_base.rb', line 255

def identifiers
  @identifiers
end