Class: Puppeteer::Response::RemoteAddress
- Inherits:
- 
      Object
      
        - Object
- Puppeteer::Response::RemoteAddress
 
- Defined in:
- lib/puppeteer/response.rb
Instance Attribute Summary collapse
- 
  
    
      #ip  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute ip. 
- 
  
    
      #port  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute port. 
Instance Method Summary collapse
- 
  
    
      #initialize(ip:, port:)  ⇒ RemoteAddress 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of RemoteAddress. 
Constructor Details
#initialize(ip:, port:) ⇒ RemoteAddress
Returns a new instance of RemoteAddress.
| 24 25 26 27 | # File 'lib/puppeteer/response.rb', line 24 def initialize(ip:, port:) @ip = ip @port = port end | 
Instance Attribute Details
#ip ⇒ Object (readonly)
Returns the value of attribute ip.
| 28 29 30 | # File 'lib/puppeteer/response.rb', line 28 def ip @ip end | 
#port ⇒ Object (readonly)
Returns the value of attribute port.
| 28 29 30 | # File 'lib/puppeteer/response.rb', line 28 def port @port end |