Class: JCW::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/jcw/config.rb

Instance Attribute Summary collapse

Instance Attribute Details

#connectionObject



29
30
31
# File 'lib/jcw/config.rb', line 29

def connection
  @connection ||= { protocol: :udp, host: "127.0.0.1", port: 6831 }
end

#enabledObject Also known as: enabled?



15
16
17
# File 'lib/jcw/config.rb', line 15

def enabled
  @enabled ||= false
end

#flush_intervalObject



33
34
35
# File 'lib/jcw/config.rb', line 33

def flush_interval
  @flush_interval ||= 10
end

#grpc_ignore_methodsObject



41
42
43
# File 'lib/jcw/config.rb', line 41

def grpc_ignore_methods
  @grpc_ignore_methods ||= []
end

#loggerObject



49
50
51
# File 'lib/jcw/config.rb', line 49

def logger
  @logger ||= ::Logger.new($stdout)
end

#rack_ignore_path_patternsObject



45
46
47
# File 'lib/jcw/config.rb', line 45

def rack_ignore_path_patterns
  @rack_ignore_path_patterns ||= []
end

#service_nameObject



21
22
23
# File 'lib/jcw/config.rb', line 21

def service_name
  @service_name ||= "JCW service"
end

#subscribe_toObject



25
26
27
# File 'lib/jcw/config.rb', line 25

def subscribe_to
  @subscribe_to ||= []
end

#tagsObject



37
38
39
# File 'lib/jcw/config.rb', line 37

def tags
  @tags ||= {}
end