Class: Anycable::Config

Inherits:
Anyway::Config
  • Object
show all
Defined in:
lib/anycable/config.rb

Overview

Anycable configuration.

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



19
20
21
22
23
24
25
# File 'lib/anycable/config.rb', line 19

def initialize(*)
  super
  # Set log params if debug is true
  return unless debug
  self.log_level = :debug
  self.log_grpc = true
end