Class: Puppeteer::Response::InternalAccessor
- Inherits:
-
Object
- Object
- Puppeteer::Response::InternalAccessor
- Defined in:
- lib/puppeteer/response.rb
Overview
defines methods used only in NetworkManager
Instance Method Summary collapse
- #body_loaded_promise ⇒ Object
-
#initialize(response) ⇒ InternalAccessor
constructor
A new instance of InternalAccessor.
Constructor Details
#initialize(response) ⇒ InternalAccessor
Returns a new instance of InternalAccessor.
14 15 16 |
# File 'lib/puppeteer/response.rb', line 14 def initialize(response) @response = response end |
Instance Method Details
#body_loaded_promise ⇒ Object
18 19 20 |
# File 'lib/puppeteer/response.rb', line 18 def body_loaded_promise @response.instance_variable_get(:@body_loaded_promise) end |