Class: RubyProxyHeaders::RestClient::ProxyResponse

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/ruby_proxy_headers/rest_client.rb

Overview

RestClient response plus CONNECT response headers.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response, proxy_headers) ⇒ ProxyResponse

Returns a new instance of ProxyResponse.



100
101
102
103
# File 'lib/ruby_proxy_headers/rest_client.rb', line 100

def initialize(response, proxy_headers)
  super(response)
  @proxy_response_headers = proxy_headers
end

Instance Attribute Details

#proxy_response_headers ⇒ Object (readonly)

Returns the value of attribute proxy_response_headers.



98
99
100
# File 'lib/ruby_proxy_headers/rest_client.rb', line 98

def proxy_response_headers
  @proxy_response_headers
end