class Faraday::AdapterRegistry

def set(klass, name = nil)

def set(klass, name = nil)
  name ||= klass.to_s
  @lock.synchronize do
    @constants[name] = klass
  end
end