Class: VCR::LibraryHooks::WebMock::RequestHandler

Inherits:
RequestHandler show all
Includes:
Helpers
Defined in:
lib/vcr/library_hooks/webmock.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Helpers

#request_headers_for, #typed_request_for, #vcr_request_for, #vcr_response_for

Methods inherited from RequestHandler

#handle

Methods included from VCR::Logger::Mixin

#log, #request_summary, #response_summary

Constructor Details

#initialize(request) ⇒ RequestHandler

Returns a new instance of RequestHandler.



83
84
85
# File 'lib/vcr/library_hooks/webmock.rb', line 83

def initialize(request)
  @request = request
end

Instance Attribute Details

#requestObject (readonly)

Returns the value of attribute request.



82
83
84
# File 'lib/vcr/library_hooks/webmock.rb', line 82

def request
  @request
end