Module: Courgette

Defined in:
lib/courgette.rb,
lib/courgette/chain.rb,
lib/courgette/client.rb,
lib/courgette/device.rb,
lib/courgette/executor.rb,
lib/courgette/fetchers/fetcher.rb,
lib/courgette/fetchers/hp_fetcher.rb,
lib/courgette/processors/processor.rb,
lib/courgette/processors/cisco_processor.rb,
lib/courgette/processors/default_processor.rb,
lib/courgette/fetchers/commutateurs_fetcher.rb

Defined Under Namespace

Modules: Fetchers, Processors Classes: Chain, Client, Device, Executor

Class Method Summary collapse

Class Method Details

.run!(aubergine, token, executors = 4, logger = Logger.new(STDOUT), filter = Proc.new { |device| true }) ⇒ Object



24
25
26
# File 'lib/courgette.rb', line 24

def self.run!(aubergine, token, executors = 4, logger = Logger.new(STDOUT), filter = Proc.new { |device| true })
  Executor.new(Client.new(aubergine, token), executors, logger).launch!(filter)
end