class FayeService::Config

Attributes

auth_service[RW]
auth_token[RW]
origin[RW]
param_name[W]
url[RW]
use_ssl[RW]

Public Class Methods

new() click to toggle source
# File lib/faye_service/config.rb, line 16
def initialize
        @url = "http://localhost:4242"
        @auth_token = nil
        @auth_service = nil
        @origin = "http://localhost:3000"
        @use_ssl = false
end

Public Instance Methods

param_name() click to toggle source
# File lib/faye_service/config.rb, line 24
def param_name
        @param_name.respond_to?(:call) ? @param_name.call : @param_name
end