Skip to content

Commit

Permalink
Add Bailador::Response
Browse files Browse the repository at this point in the history
  • Loading branch information
Tadeusz Sośnierz committed Dec 27, 2011
1 parent 9d0d143 commit 01a442c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/Bailador/Response.pm
@@ -0,0 +1,9 @@
class Bailador::Response {
has $.code is rw;
has %.headers is rw;
has @.content is rw;

method psgi {
[ $.code, %.headers.list, @.content ]
}
}

0 comments on commit 01a442c

Please sign in to comment.