class Vizsla::PuppetMaster

Public Class Methods

new(timer) click to toggle source
# File lib/vizsla/puppet_master.rb, line 5
def initialize(timer)
  @timer = timer
  @logger = RequestLogger.new
end

Public Instance Methods

process() click to toggle source
# File lib/vizsla/puppet_master.rb, line 10
def process
  @logger.request_response_time @timer.elapsed
  @logger.log_events @timer.events
end