Class: Jason::Channel
- Inherits:
-
ActionCable::Channel::Base
- Object
- ActionCable::Channel::Base
- Jason::Channel
- Defined in:
- lib/jason/channel.rb
Instance Attribute Summary collapse
-
#subscriptions ⇒ Object
Returns the value of attribute subscriptions.
Instance Method Summary collapse
Instance Attribute Details
#subscriptions ⇒ Object
Returns the value of attribute subscriptions.
2 3 4 |
# File 'lib/jason/channel.rb', line 2 def subscriptions @subscriptions end |
Instance Method Details
#receive(message) ⇒ Object
8 9 10 |
# File 'lib/jason/channel.rb', line 8 def receive() () end |
#subscribe ⇒ Object
4 5 6 |
# File 'lib/jason/channel.rb', line 4 def subscribe stream_from 'jason' end |