Class: RubyProxyHeaders::HTTPGem::ProxyResponse
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- RubyProxyHeaders::HTTPGem::ProxyResponse
- Defined in:
- lib/ruby_proxy_headers/http_gem.rb
Overview
HTTP::Response plus proxy_response_headers.
Instance Attribute Summary collapse
-
#proxy_response_headers ⇒ Object
readonly
Returns the value of attribute proxy_response_headers.
Instance Method Summary collapse
-
#initialize(response, proxy_headers) ⇒ ProxyResponse
constructor
A new instance of ProxyResponse.
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 |