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.
91 92 93 |
# File 'lib/vcr/library_hooks/webmock.rb', line 91 def initialize(request) @request = request end |
Instance Attribute Details
#request ⇒ Object (readonly)
Returns the value of attribute request.
90 91 92 |
# File 'lib/vcr/library_hooks/webmock.rb', line 90 def request @request end |