diff --git a/lib/zero/response.rb b/lib/zero/response.rb index 70b82cf..470b76d 100644 --- a/lib/zero/response.rb +++ b/lib/zero/response.rb @@ -15,7 +15,7 @@ module Zero # builds the response for rack and checks for protocol errors # @return Array the rack response - def response + def to_a [@code, @header, [@body]] end end