Class: VCR::Middleware::Excon::Request

Inherits:
Excon::Middleware::Base
  • Object
show all
Defined in:
lib/vcr/middleware/excon.rb

Overview

One part of the Excon middleware that uses VCR to record and replay HTTP requests made through Excon.

Instance Method Summary collapse

Instance Method Details

#request_call(params) ⇒ Object


18
19
20
21
22
23
# File 'lib/vcr/middleware/excon.rb', line 18

def request_call(params)
  params[:vcr_request_handler] = request_handler = RequestHandler.new
  request_handler.before_request(params)

  super
end