aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGibheer <gibheer@gmail.com>2013-10-22 17:17:37 +0200
committerGibheer <gibheer@gmail.com>2013-10-22 17:17:37 +0200
commit290165c440caceb53fd12ad6aa460069852a26ec (patch)
treecc78024577eddad1f20549e6f661ebf3c3e13251
parent9c66360b9830d2072d96ca82437259ca11c9c3df (diff)
some more cleanup of the response
-rw-r--r--lib/zero/response.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/zero/response.rb b/lib/zero/response.rb
index 582c0e9..ab4acde 100644
--- a/lib/zero/response.rb
+++ b/lib/zero/response.rb
@@ -1,8 +1,11 @@
module Zero
# This is the representation of a response
class Response
+ # the status code of the response
attr_reader :status
+ # the body of the response
attr_reader :body
+ # set or get current headers
attr_accessor :header
# Constructor