Class: Ask::WebFetch::Http::Response
- Inherits:
-
Data
- Object
- Data
- Ask::WebFetch::Http::Response
- Defined in:
- lib/ask/web_fetch/http.rb
Overview
One hop's answer. Redirects stay the backend's job, so location
rides along for the backend to resolve.
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#content_type ⇒ Object
readonly
Returns the value of attribute content_type.
-
#location ⇒ Object
readonly
Returns the value of attribute location.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body
35 36 37 |
# File 'lib/ask/web_fetch/http.rb', line 35 def body @body end |
#content_type ⇒ Object (readonly)
Returns the value of attribute content_type
35 36 37 |
# File 'lib/ask/web_fetch/http.rb', line 35 def content_type @content_type end |
#location ⇒ Object (readonly)
Returns the value of attribute location
35 36 37 |
# File 'lib/ask/web_fetch/http.rb', line 35 def location @location end |
#status ⇒ Object (readonly)
Returns the value of attribute status
35 36 37 |
# File 'lib/ask/web_fetch/http.rb', line 35 def status @status end |