File: Simple.pm

package info (click to toggle)
libcatalyst-action-rest-perl 1.21-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 476 kB
  • sloc: perl: 1,750; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 207 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package Test::Serialize::View::Simple;
use Moose;
use namespace::autoclean;

extends qw/Catalyst::View/;

sub process {
    my ($self, $c) = @_;

    $c->res->body("I am a simple view");
    return 1;
}

1;