Sha256: 5225e5befa43f086b5d275bad795d8f9bc3de63e61e47d464b01bc3ab973953b

Contents?: true

Size: 477 Bytes

Versions: 5

Compression:

Stored size: 477 Bytes

Contents

# frozen_string_literal: true

module DevSuite
  module RequestLogger
    module Extractor
      include Utils::Construct::Component::Manager

      require_relative "base"

      load_dependency(["net/http"], on_failure: ->(_) {}) do
        require_relative "net_http"
        register_component(NetHttp)
      end

      load_dependency(["faraday"], on_failure: ->(_) {}) do
        require_relative "faraday"
        register_component(Faraday)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dev_suite-0.2.13 lib/dev_suite/request_logger/extractor/extractor.rb
dev_suite-0.2.12 lib/dev_suite/request_logger/extractor/extractor.rb
dev_suite-0.2.11 lib/dev_suite/request_logger/extractor/extractor.rb
dev_suite-0.2.10 lib/dev_suite/request_logger/extractor/extractor.rb
dev_suite-0.2.9 lib/dev_suite/request_logger/extractor/extractor.rb