Class: PaidChannel
- Inherits:
-
ApplicationCable::Channel
- Object
- ApplicationCable::Channel
- PaidChannel
- Defined in:
- app/channels/paid_channel.rb
Instance Method Summary collapse
Instance Method Details
#subscribed ⇒ Object
3 4 5 |
# File 'app/channels/paid_channel.rb', line 3 def subscribed stream_from "paid:#{current_receiver.id}" if current_receiver end |