some more cleanup of the response
This commit is contained in:
parent
9c66360b98
commit
290165c440
|
@ -1,8 +1,11 @@
|
||||||
module Zero
|
module Zero
|
||||||
# This is the representation of a response
|
# This is the representation of a response
|
||||||
class Response
|
class Response
|
||||||
|
# the status code of the response
|
||||||
attr_reader :status
|
attr_reader :status
|
||||||
|
# the body of the response
|
||||||
attr_reader :body
|
attr_reader :body
|
||||||
|
# set or get current headers
|
||||||
attr_accessor :header
|
attr_accessor :header
|
||||||
|
|
||||||
# Constructor
|
# Constructor
|
||||||
|
|
Loading…
Reference in New Issue