Class: GData::HTTP::Response
- Inherits:
-
Object
- Object
- GData::HTTP::Response
- Defined in:
- lib/gdata/http/response.rb
Overview
An extremely simple class to hold the values of an HTTP response.
Instance Attribute Summary collapse
-
#body ⇒ Object
The body of the HTTP response.
-
#headers ⇒ Object
The headers of the HTTP response.
-
#status_code ⇒ Object
The HTTP response code.
Instance Method Summary collapse
-
#to_xml ⇒ Object
Converts the response body into a REXML::Document.
Instance Attribute Details
#body ⇒ Object
The body of the HTTP response.
26 27 28 |
# File 'lib/gdata/http/response.rb', line 26 def body @body end |
#headers ⇒ Object
The headers of the HTTP response.
28 29 30 |
# File 'lib/gdata/http/response.rb', line 28 def headers @headers end |
#status_code ⇒ Object
The HTTP response code.
24 25 26 |
# File 'lib/gdata/http/response.rb', line 24 def status_code @status_code end |