Class: HttpServer::Response
- Inherits:
-
Object
- Object
- HttpServer::Response
- Defined in:
- lib/xmlrpc/httpserver.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#header ⇒ Object
readonly
Returns the value of attribute header.
-
#status ⇒ Object
Returns the value of attribute status.
-
#status_message ⇒ Object
Returns the value of attribute status_message.
Instance Method Summary collapse
-
#initialize(status = 200) ⇒ Response
constructor
A new instance of Response.
Constructor Details
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body
68 69 70 |
# File 'lib/xmlrpc/httpserver.rb', line 68 def body @body end |
#header ⇒ Object (readonly)
Returns the value of attribute header
67 68 69 |
# File 'lib/xmlrpc/httpserver.rb', line 67 def header @header end |
#status ⇒ Object
Returns the value of attribute status
68 69 70 |
# File 'lib/xmlrpc/httpserver.rb', line 68 def status @status end |
#status_message ⇒ Object
Returns the value of attribute status_message
68 69 70 |
# File 'lib/xmlrpc/httpserver.rb', line 68 def @status_message end |