sub monkey_put : Local : ActionClass('Deserialize') {
my ( $self, $c ) = @_;
- if ( ref($c->req->data) eq "HASH" ) {
- $c->res->output( $c->req->data->{'sushi'} );
- } else {
- $c->res->output(1);
- }
+ if ( ref($c->req->data) eq "HASH" ) {
+ $c->res->output( $c->req->data->{'sushi'} );
+ } else {
+ $c->res->output(1);
+ }
}
sub monkey_get : Local : ActionClass('Serialize') {
}
1;
-