Class: Polemic::Configuration

Inherits:
Object
  • Object
show all
Includes:
ActiveSupport::Configurable
Defined in:
lib/polemic.rb

Overview

need a Class for 3.0

Instance Method Summary collapse

Instance Method Details

#param_nameObject

config_accessor :user_name config_accessor :faye_host config_accessor :faye_port config_accessor :faye_enabled



28
29
30
# File 'lib/polemic.rb', line 28

def param_name
  config.param_name.respond_to?(:call) ? config.param_name.call() : config.param_name 
end