Exception: LiteCable::UnknownChannelError
- Inherits:
-
StandardError
- Object
- StandardError
- LiteCable::UnknownChannelError
- Defined in:
- lib/lite_cable/connection/subscriptions.rb
Instance Attribute Summary collapse
-
#channel_id ⇒ Object
readonly
Returns the value of attribute channel_id.
Instance Method Summary collapse
-
#initialize(channel_id) ⇒ UnknownChannelError
constructor
A new instance of UnknownChannelError.
Constructor Details
#initialize(channel_id) ⇒ UnknownChannelError
Returns a new instance of UnknownChannelError.
7 8 9 10 |
# File 'lib/lite_cable/connection/subscriptions.rb', line 7 def initialize(channel_id) @channel_id = channel_id super("Unknown channel: #{channel_id}") end |
Instance Attribute Details
#channel_id ⇒ Object (readonly)
Returns the value of attribute channel_id.
5 6 7 |
# File 'lib/lite_cable/connection/subscriptions.rb', line 5 def channel_id @channel_id end |