Sha256: a125c0ad7d56539351276c85a75266420acbc9a4378c2fd9b860a8b4ef30cdfb
Contents?: true
Size: 528 Bytes
Versions: 1
Compression:
Stored size: 528 Bytes
Contents
module Skylight module Vendor module Excon class StandardInstrumentor def self.instrument(name, params = {}, &block) if params.has_key?(:headers) && params[:headers].has_key?('Authorization') params = params.dup params[:headers] = params[:headers].dup params[:headers]['Authorization'] = REDACTED end $stderr.puts("#{name} #{params.inspect}") if block_given? yield end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
skylight-0.0.5 | lib/skylight/vendor/excon/standard_instrumentor.rb |