lib/sync.rb
def pubsub_app(options = {})
      Faye::RackAdapter.new({
        mount: config[:mount] || "/faye",
        timeout: config[:timeout] || 45,
        extensions: [FayeExtension.new]
      }.merge(options))
    end
# Returns the Faye Rack application.
# Any options given are passed to the Faye::RackAdapter.
Returns the Faye Rack application.
Any options given are passed to the Faye::RackAdapter.
Returns the Faye Rack application . Any options given are passed to the Faye :: RackAdapter .
def pubsub_app(options = {})
      Faye::RackAdapter.new({
        mount: config[:mount] || "/faye",
        timeout: config[:timeout] || 45,
        extensions: [FayeExtension.new]
      }.merge(options))
    end
def pubsub_app ( options = { } ) Faye :: RackAdapter . new ( { mount : config [ :mount ] || "/faye" , timeout : config [ :timeout ] || 45 , extensions : [ FayeExtension . new ] } . merge ( options ) ) end
Returns the Faye Rack application.
Returns the Faye Rack application .
options