Class: Vigiles::Options

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/vigiles/options.rb

Class Method Summary collapse

Class Method Details

.make_default_optionsObject



13
14
15
16
17
18
# File 'lib/vigiles/options.rb', line 13

def self.make_default_options
  Options.new(
    logger: T.unsafe(Rails).logger, # you should be using this within rails.
    capture_exception: ->(e) { e }  # a no-op exception capturer.
  )
end