class Faraday::Connection
def build_request(method)
-
(Faraday::Request)
-
Other tags:
- Yield: - if block given
Parameters:
-
method
(Symbol
) --
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