Class: VCR::LibraryHooks::WebMock::RequestHandler
- Inherits:
-
RequestHandler
- Object
- RequestHandler
- VCR::LibraryHooks::WebMock::RequestHandler
- Includes:
- Helpers
- Defined in:
- lib/vcr/library_hooks/webmock.rb
Instance Attribute Summary collapse
-
#request ⇒ Object
readonly
Returns the value of attribute request.
Instance Method Summary collapse
-
#initialize(request) ⇒ RequestHandler
constructor
A new instance of RequestHandler.
Methods included from Helpers
#request_headers_for, #typed_request_for, #vcr_request_for, #vcr_response_for
Methods inherited from RequestHandler
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
#request ⇒ Object (readonly)
Returns the value of attribute request.
82 83 84 |
# File 'lib/vcr/library_hooks/webmock.rb', line 82 def request @request end |