Class: Puppeteer::Response::InternalAccessor

Inherits:
Object
  • Object
show all
Defined in:
lib/puppeteer/response.rb

Overview

defines methods used only in NetworkManager

Instance Method Summary collapse

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_promiseObject



18
19
20
# File 'lib/puppeteer/response.rb', line 18

def body_loaded_promise
  @response.instance_variable_get(:@body_loaded_promise)
end