Module: Faraday

Extended by:
AutoloadHelper
Defined in:
lib/faraday/upload_io.rb,
lib/faraday.rb,
lib/faraday/error.rb,
lib/faraday/utils.rb,
lib/faraday/builder.rb,
lib/faraday/request.rb,
lib/faraday/adapter.rb,
lib/faraday/response.rb,
lib/faraday/middleware.rb,
lib/faraday/connection.rb,
lib/faraday/request/yajl.rb,
lib/faraday/adapter/test.rb,
lib/faraday/response/yajl.rb,
lib/faraday/adapter/patron.rb,
lib/faraday/adapter/net_http.rb,
lib/faraday/adapter/typhoeus.rb,
lib/faraday/adapter/em_synchrony.rb,
lib/faraday/adapter/action_dispatch.rb,
lib/faraday/request/active_support_json.rb,
lib/faraday/response/active_support_json.rb

Overview

Auto-load multipart-post gem on first request.

Defined Under Namespace

Modules: AutoloadHelper, Error, Utils Classes: Adapter, Builder, Connection, Middleware, Request, Response

Constant Summary

VERSION =
"0.5.3"
CompositeReadIO =
::CompositeReadIO
UploadIO =
::UploadIO
Parts =
::Parts

Class Attribute Summary collapse

Method Summary

Methods included from AutoloadHelper

all_loaded_constants, autoload_all, load_autoloaded_constants, lookup_module, register_lookup_modules

Class Attribute Details

.default_adapterObject

Returns the value of attribute default_adapter



5
6
7
# File 'lib/faraday.rb', line 5

def default_adapter
  @default_adapter
end

.default_connectionObject



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

def self.default_connection
  @default_connection ||= Connection.new
end