a small api is needed
This commit is contained in:
parent
896157c234
commit
46fcff33b7
@ -15,7 +15,7 @@ module Zero
|
|||||||
|
|
||||||
# builds the response for rack and checks for protocol errors
|
# builds the response for rack and checks for protocol errors
|
||||||
# @return Array the rack response
|
# @return Array the rack response
|
||||||
def response
|
def to_a
|
||||||
[@code, @header, [@body]]
|
[@code, @header, [@body]]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user