Class: RubyProxyHeaders::HTTPGem::ProxyResponse

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

Overview

HTTP::Response plus proxy_response_headers.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response, proxy_headers) ⇒ ProxyResponse

Returns a new instance of ProxyResponse.



109
110
111
112
# File 'lib/ruby_proxy_headers/http_gem.rb', line 109

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.



107
108
109
# File 'lib/ruby_proxy_headers/http_gem.rb', line 107

def proxy_response_headers
  @proxy_response_headers
end