Class: Puppeteer::Request::InternalAccessor
- Inherits:
- 
      Object
      
        - Object
- Puppeteer::Request::InternalAccessor
 
- Defined in:
- lib/puppeteer/request.rb
Overview
defines some methods used only in NetworkManager, Response
Instance Method Summary collapse
- #failure_text=(failure_text) ⇒ Object
- #from_memory_cache=(from_memory_cache) ⇒ Object
- #from_memory_cache? ⇒ Boolean
- 
  
    
      #initialize(request)  ⇒ InternalAccessor 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of InternalAccessor. 
- #interception_id ⇒ Object
- #redirect_chain ⇒ Object
- #request_id ⇒ Object
- #response=(response) ⇒ Object
Constructor Details
#initialize(request) ⇒ InternalAccessor
Returns a new instance of InternalAccessor.
| 7 8 9 | # File 'lib/puppeteer/request.rb', line 7 def initialize(request) @request = request end | 
Instance Method Details
#failure_text=(failure_text) ⇒ Object
| 28 29 30 | # File 'lib/puppeteer/request.rb', line 28 def failure_text=(failure_text) @request.instance_variable_set(:@failure_text, failure_text) end | 
#from_memory_cache=(from_memory_cache) ⇒ Object
| 32 33 34 | # File 'lib/puppeteer/request.rb', line 32 def from_memory_cache=(from_memory_cache) @request.instance_variable_set(:@from_memory_cache, from_memory_cache) end | 
#from_memory_cache? ⇒ Boolean
| 36 37 38 | # File 'lib/puppeteer/request.rb', line 36 def from_memory_cache? @request.instance_variable_get(:@from_memory_cache) end | 
#interception_id ⇒ Object
| 15 16 17 | # File 'lib/puppeteer/request.rb', line 15 def interception_id @request.instance_variable_get(:@interception_id) end | 
#redirect_chain ⇒ Object
| 24 25 26 | # File 'lib/puppeteer/request.rb', line 24 def redirect_chain @request.instance_variable_get(:@redirect_chain) end | 
#request_id ⇒ Object
| 11 12 13 | # File 'lib/puppeteer/request.rb', line 11 def request_id @request.instance_variable_get(:@request_id) end | 
#response=(response) ⇒ Object
| 20 21 22 | # File 'lib/puppeteer/request.rb', line 20 def response=(response) @request.instance_variable_set(:@response, response) end |