Class: RelaxDB::Server::Response
- Inherits:
-
Object
- Object
- RelaxDB::Server::Response
- Defined in:
- lib/relaxdb/taf2_curb_server.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
Instance Method Summary collapse
-
#initialize(body) ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize(body) ⇒ Response
Returns a new instance of Response.
6 7 8 |
# File 'lib/relaxdb/taf2_curb_server.rb', line 6 def initialize body @body = body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
5 6 7 |
# File 'lib/relaxdb/taf2_curb_server.rb', line 5 def body @body end |