Class: Integration::Brakeman

Inherits:
Base
  • Object
show all
Defined in:
lib/integrations/brakeman.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize, #pronto_enabled?, #pronto_name, #run_with_config_handling_exit

Constructor Details

This class inherits a constructor from Integration::Base

Instance Method Details

#run_with(config) ⇒ Object



7
8
9
10
11
12
13
14
15
# File 'lib/integrations/brakeman.rb', line 7

def run_with(config)
  args = {
    quiet: true,
    summary_only: :no_summary,
  }
  Keepclean.logger.debug "Running with args: #{args.inspect}"
  ::Brakeman::Commandline.start(args)
  true
end