Module: ILove::Tracing::OutgoingRequests
- Defined in:
- lib/ilove/tracing/outgoing_requests.rb
Defined Under Namespace
Classes: FaradayTraceMiddleware
Class Method Summary collapse
Class Method Details
.setup(cfg) ⇒ Object
20 21 22 23 24 |
# File 'lib/ilove/tracing/outgoing_requests.rb', line 20 def self.setup(cfg) raise 'Cannot trace outgoing request without Faraday' unless defined?(Faraday) ILove::Tracing::FaradayMiddleware.add_active_middleware FaradayTraceMiddleware end |