Class: Primer::RealTime::ClientAuth
- Inherits:
-
Object
- Object
- Primer::RealTime::ClientAuth
- Defined in:
- lib/primer/real_time.rb
Instance Method Summary collapse
Instance Method Details
#outgoing(message, callback) ⇒ Object
25 26 27 28 29 30 31 32 33 |
# File 'lib/primer/real_time.rb', line 25 def outgoing(, callback) channel = ['channel'] return callback.call() if Faye::Channel.(channel) ['ext'] ||= {} ['ext']['password'] = RealTime.password callback.call() end |