class JCW::Config
Attributes
connection[W]
enabled[W]
flush_interval[W]
service_name[W]
subscribe_to[W]
Public Instance Methods
connection()
click to toggle source
# File lib/jcw/config.rb, line 26 def connection @connection ||= { protocol: :udp, host: "127.0.0.1", port: 6831 } end
enabled()
click to toggle source
# File lib/jcw/config.rb, line 12 def enabled @enabled ||= false end
Also aliased as: enabled?
flush_interval()
click to toggle source
# File lib/jcw/config.rb, line 30 def flush_interval @flush_interval ||= 10 end
service_name()
click to toggle source
# File lib/jcw/config.rb, line 18 def service_name @service_name ||= "JCW service" end
subscribe_to()
click to toggle source
# File lib/jcw/config.rb, line 22 def subscribe_to @subscribe_to ||= [] end