mirror of
				https://github.com/lostisland/faraday.git
				synced 2025-11-04 00:02:33 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			378 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			378 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
module Faraday
 | 
						|
  # Loads each autoloaded constant.  If thread safety is a concern, wrap
 | 
						|
  # this in a Mutex.
 | 
						|
  def self.load
 | 
						|
    constants.each do |const|
 | 
						|
      const_get(const) if autoload?(const)
 | 
						|
    end
 | 
						|
  end
 | 
						|
 | 
						|
  autoload :Connection, 'faraday/connection'
 | 
						|
  autoload :Response,   'faraday/response'
 | 
						|
 | 
						|
  module Adapter
 | 
						|
    autoload :NetHttp, 'faraday/adapter/net_http'
 | 
						|
  end
 | 
						|
end |