lib/faraday/connection.rb
# Creates and configures the request object.
#
# @param method [Symbol]
#
# @yield [Faraday::Request] if block given
# @return [Faraday::Request]
Creates and configures the request object.
Creates and configures the request object .
def build_request(method)
      Request.create(method) do |req|
        req.params  = params.dup
        req.headers = headers.dup
        req.options = options.dup
        yield(req) if block_given?
      end
    end
def build_request ( method ) Request . create ( method ) do | req | req . params = params . dup req . headers = headers . dup req . options = options . dup yield ( req ) if block_given? end end
Creates and configures the request object.
Creates and configures the request object .
None
Faraday::Request
method
<not_specific>
<not_specific>
None
]
<not_specific>
if block given
if block given