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.


100
101
102
# File 'lib/vcr/library_hooks/webmock.rb', line 100

def initialize(request)
  @request = request
end

Instance Attribute Details

#requestObject (readonly)

Returns the value of attribute request


99
100
101
# File 'lib/vcr/library_hooks/webmock.rb', line 99

def request
  @request
end