File: REST.pm

package info (click to toggle)
libcatalyst-action-serialize-data-serializer-perl 1.08-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 248 kB
  • ctags: 190
  • sloc: perl: 2,409; makefile: 2
file content (23 lines) | stat: -rw-r--r-- 484 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package Test::Catalyst::Action::REST;

use Moose;
use namespace::autoclean;

use Catalyst::Runtime '5.70';

use Catalyst;
use FindBin;
use Test::Catalyst::Log;

__PACKAGE__->config(
    name => 'Test::Catalyst::Action::REST',
    # RT#43840 -- this was ignored in 0.66 and earlier
    'Controller::Serialize' => {
        content_type_stash_key => 'serialize_content_type',
    },
);
__PACKAGE__->setup;
__PACKAGE__->log( Test::Catalyst::Log->new )
    unless __PACKAGE__->debug;

1;