Repositorio/Server/Docker/Index.pm untested

filter: Statementstmt 0.0% 0 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 13 CC 1 SCAR 6.9
CC
1
Cov
0%
index
2.0
ping
2.0
BEGIN
2.0
CRAP 2.0
1 #
2 # (c) Jan Gehring <jan.gehring@gmail.com>
3 #
4 # vim: set ts=2 sw=2 tw=0:
5 # vim: set expandtab:
6  
7 package Rex::Repositorio::Server::Docker::Index;
8  
9 use Mojo::Base 'Mojolicious::Controller';
10  
11 our $VERSION = '1.2.1'; # VERSION
12  
13 sub index {
14 my ($self) = @_;
15 $self->render( json => { ok => 1 } );
16 }
17  
18 sub ping {
19 my ($self) = @_;
20 $self->render( text => 'true' );
21 }
22  
23 1;