REST/Response.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« REST/Request.pm ↑ Summary REST/Status.pm »
1 # -*- perl -*-
2 ##----------------------------------------------------------------------------
3 ## REST API Framework - ~/lib/Net/API/REST/Response.pm
4 ## Version v1.0.0
5 ## Copyright(c) 2022 DEGUEST Pte. Ltd.
6 ## Author: Jacques Deguest <jack@deguest.jp>
7 ## Created 2019/09/01
8 ## Modified 2023/06/10
9 ## All rights reserved
10 ##
11 ## This program is free software; you can redistribute it and/or modify it
12 ## under the same terms as Perl itself.
13 ##----------------------------------------------------------------------------
14 package Net::API::REST::Response;
15 BEGIN
16 {
17 1 ▶ use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 1 ▶ use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 1 ▶ use common::sense;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 1 ▶ use parent qw( Apache2::API::Response );
Subroutine BEGIN: called CC=1 SCAR=0.0
21 use vars qw( $VERSION );
22 our $VERSION = 'v1.0.0';
23 };
24  
25 use strict;
26 use warnings;
27  
28 # sub init is inherited
29  
30 sub request { return( shift->_set_get_object( 'request', 'Net::API::REST::Request', @_ ) ); }
31  
32 1;
33 # NOTE: POD
34 __END__
« REST/Request.pm ↑ Summary REST/Status.pm »