class RenderSync::Clients::Faye
Public Instance Methods
batch_publish(*args)
click to toggle source
# File lib/render_sync/clients/faye.rb, line 10 def batch_publish(*args) Message.batch_publish(*args) end
build_message(*args)
click to toggle source
# File lib/render_sync/clients/faye.rb, line 14 def build_message(*args) Message.new(*args) end
normalize_channel(channel)
click to toggle source
Public: Normalize channel to adapter supported format
channel - The string channel name
Returns The normalized channel prefixed with supported format for Faye
# File lib/render_sync/clients/faye.rb, line 23 def normalize_channel(channel) "/#{channel}" end
setup()
click to toggle source
# File lib/render_sync/clients/faye.rb, line 5 def setup require 'faye' # nothing to set up end