Module: DevSuite::RequestLogger::Adapter

Includes:
Utils::Construct::Component::Manager
Defined in:
lib/dev_suite/request_logger/adapter/base.rb,
lib/dev_suite/request_logger/adapter/adapter.rb,
lib/dev_suite/request_logger/adapter/faraday.rb,
lib/dev_suite/request_logger/adapter/net_http.rb,
lib/dev_suite/request_logger/adapter/middleware/faraday.rb

Defined Under Namespace

Modules: Middleware Classes: Base, Faraday, NetHttp

Class Method Summary collapse

Methods included from Utils::Construct::Component::Manager

included

Class Method Details

.handle_missing_faraday(missing_dependencies) ⇒ Object



15
16
17
# File 'lib/dev_suite/request_logger/adapter/adapter.rb', line 15

def handle_missing_faraday(missing_dependencies)
  Config.configuration.remove_failed_dependency(:adapters, :faraday, *missing_dependencies)
end

.handle_missing_nethttp(missing_dependencies) ⇒ Object



11
12
13
# File 'lib/dev_suite/request_logger/adapter/adapter.rb', line 11

def handle_missing_nethttp(missing_dependencies)
  Config.configuration.remove_failed_dependency(:adapters, :net_http, *missing_dependencies)
end