lib/tire/http/clients/faraday.rb
# A customized stack of Faraday middleware that will be used to make each request.
A customized stack of Faraday middleware that will be used to make each request.
A customized stack of Faraday middleware that will be used to make each request .
def request(method, url, data = nil)
            conn = ::Faraday.new( &(faraday_middleware || DEFAULT_MIDDLEWARE) )
            response = conn.run_request(method, url, data, nil)
            Response.new(response.body, response.status, response.headers)
          end
def request ( method , url , data = nil ) conn = :: Faraday . new ( & ( faraday_middleware || DEFAULT_MIDDLEWARE ) ) response = conn . run_request ( method , url , data , nil ) Response . new ( response . body , response . status , response . headers ) end
A customized stack of Faraday middleware that will be used to make each request.
A customized stack of Faraday middleware that will be used to make each request .
method
<not_specific>
url
<not_specific>
data
<not_specific>