Class: Net::HTTPResponse
- Inherits:
-
Object
- Object
- Net::HTTPResponse
- Defined in:
- lib/net/http/spdy/response.rb
Instance Attribute Summary collapse
-
#associated_responses ⇒ Object
readonly
Returns associated responses.
-
#uri ⇒ Object
Returns the value of attribute uri.
Instance Method Summary collapse
-
#has_associated_response? ⇒ Boolean
Returns true when itself has a associated_response.
Instance Attribute Details
#associated_responses ⇒ Object (readonly)
Returns associated responses
21 22 23 |
# File 'lib/net/http/spdy/response.rb', line 21 def associated_responses @associated_responses end |
#uri ⇒ Object
Returns the value of attribute uri.
3 4 5 |
# File 'lib/net/http/spdy/response.rb', line 3 def uri @uri end |
Instance Method Details
#has_associated_response? ⇒ Boolean
Returns true when itself has a associated_response
14 15 16 17 |
# File 'lib/net/http/spdy/response.rb', line 14 def has_associated_response? @associated_responses ||= [] not @associated_responses.empty? end |