Class: ScreenshotScout::CaptureResponse
- Inherits:
-
Object
- Object
- ScreenshotScout::CaptureResponse
- Defined in:
- lib/screenshotscout/responses.rb,
sig/screenshotscout.rbs
Overview
Shared response base that exposes the exact buffered HTTP response.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#raw_response ⇒ RawResponse
readonly
Returns the value of attribute raw_response.
Instance Method Summary collapse
-
#initialize(raw_response:) ⇒ CaptureResponse
constructor
A new instance of CaptureResponse.
Constructor Details
#initialize(raw_response:) ⇒ CaptureResponse
Returns a new instance of CaptureResponse.
41 42 43 |
# File 'lib/screenshotscout/responses.rb', line 41 def initialize(raw_response:) @raw_response = raw_response end |
Instance Attribute Details
#raw_response ⇒ RawResponse (readonly)
Returns the value of attribute raw_response.
39 40 41 |
# File 'lib/screenshotscout/responses.rb', line 39 def raw_response @raw_response end |