Module: HTTP::Fake

Defined in:
lib/http/fake.rb,
lib/http/fake/client.rb,
lib/http/fake/builder.rb,
lib/http/fake/connector.rb,
lib/http/fake/requester.rb,
lib/http/fake/responder.rb

Overview

Main namespace.

Defined Under Namespace

Classes: Builder, Client, Connector, Requester, Responder

Class Method Summary collapse

Class Method Details

.loader(registry = Zeitwerk::Registry) ⇒ Object



16
17
18
# File 'lib/http/fake.rb', line 16

def self.loader registry = Zeitwerk::Registry
  @loader ||= registry.loaders.find { |loader| loader.tag == "http-fake" }
end