Module: Hubbado::Trailblazer::TraceOperation

Defined in:
lib/hubbado/trailblazer/trace_operation.rb

Class Method Summary collapse

Class Method Details

.call(operation) ⇒ Object



4
5
6
# File 'lib/hubbado/trailblazer/trace_operation.rb', line 4

def self.call(operation)
  [operation.name, '_all'].include?(ENV.fetch('TRACE_OPERATION', nil))
end