RoutesAuthDBI/Model/Guest.pm untested

filter: Statementstmt 0.0% 0 / 8 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 17 CC 3 SCAR 16.5
CC
3
Cov
0%
get_guest
6.0
store
6.0
BEGIN
2.0
CRAP 5.2
1 package Mojolicious::Plugin::RoutesAuthDBI::Model::Guest;
2 #~ use Mojo::Base 'DBIx::Mojo::Model';
3 use Mojo::Base 'Mojolicious::Plugin::RoutesAuthDBI::Model::Base';
4  
5 #~ sub new {
6 #~ state $self = shift->SUPER::new(@_);
7 #~ }
8  
9 sub get_guest {
10 my $self = ref($_[0]) ? shift : shift->new;
11
12 $self->dbh->selectrow_hashref($self->sth('guest'), undef, (shift));
13 }
14  
15 sub store {
16 my $self = ref($_[0]) ? shift : shift->new;
17
18 $self->dbh->selectrow_hashref($self->sth('store'), undef, (shift));
19 }
20  
21  
22 1;
23  
24 __DATA__