Plugin/Users/Helpers.pm untested

filter: Statementstmt 0.0% 0 / 37 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 9 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 47 CC 1 SCAR 6.9
CC
1
Cov
0%
helpers
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Daje::Plugin::Users::Helpers;
2 use Mojo::Base -base, -signatures;
3 use v5.42;
4  
5 # NAME
6 # ====
7 #
8 # Daje::Plugin::Users::Helpers - Model class
9 #
10 # SYNOPSIS
11 # ========
12 #
13 # use Daje::Plugin::Users::Helpers;
14 #
15 # my $class = Daje::Plugin::Users::Helpers->new();
16 # $app->helper(
17 # v_users_users => sub {
18 # state $v_users_users = Daje::Database::Model::vUsersUsers->new(db => shift->pg->db)
19 # });
20 # $app->helper(
21 # v_users_verification_codes => sub {
22 # state $v_users_verification_codes = Daje::Database::Model::vUsersVerificationCodes->new(db => shift->pg->db)
23 # });
24 # $app->helper(
25 # v_users_documentation => sub {
26 # state $v_users_documentation = Daje::Database::Model::vUsersDocumentation->new(db => shift->pg->db)
27 # });#
28 # $app->helper(
29 # v_users_users_list => sub {
30 # state $v_users_users_list = Daje::Database::Model::vUsersUsersList->new(db => shift->pg->db)
31 # });
32 # $app->helper(
33 # v_users_verification_codes_list => sub {
34 # state $v_users_verification_codes_list = Daje::Database::Model::vUsersVerificationCodesList->new(db => shift->pg->db)
35 # });
36 # $app->helper(
37 # v_users_documentation_list => sub {
38 # state $v_users_documentation_list = Daje::Database::Model::vUsersDocumentationList->new(db => shift->pg->db)
39 # });#
40 # DESCRIPTION
41 # ===========
42 #
43 # Daje::Plugin::Users::Helpers is the standard routes
44 #
45 # METHODS
46 # =======
47 #
48 #
49 # LICENSE
50 # =======
51 #
52 # Copyright (C) janeskil1525.
53 #
54 # This library is free software; you can redistribute it and/or modify
55 # it under the same terms as Perl itself.
56 #
57 # AUTHOR
58 # ======
59 #
60 # janeskil1525 E<lt>janeskil1525@gmail.com
61 #
62  
63 # This file is generated automatically by Daje Tools 2026-04-01 11:11:57.
64 # It will be re-generated by Daje Tools again.
65 # <!-- Autogenerated file 2026-04-01 11:11:57 -->
66  
67 use Daje::Database::View::vUsersUsers;
68 use Daje::Database::View::vUsersVerificationCodes;
69 use Daje::Database::View::vUsersDocumentation;# Lists
70 use Daje::Database::View::vUsersUsersList;
71 use Daje::Database::View::vUsersVerificationCodesList;
72 use Daje::Database::View::vUsersDocumentationList;
73  
74 our $VERSION = '0.01';
75  
76 sub helpers($self, $app, $config) {
77  
78 $app->helper(
79 v_users_users => sub {
80 state $v_users_users = Daje::Database::View::vUsersUsers->new(db => shift->pg->db)
81 });
82 $app->helper(
83 v_users_verification_codes => sub {
84 state $v_users_verification_codes = Daje::Database::View::vUsersVerificationCodes->new(db => shift->pg->db)
85 });
86 $app->helper(
87 v_users_documentation => sub {
88 state $v_users_documentation = Daje::Database::View::vUsersDocumentation->new(db => shift->pg->db)
89 }); # Lists
90 $app->helper(
91 v_users_users_list => sub {
92 state $v_users_users_list = Daje::Database::View::vUsersUsersList->new(db => shift->pg->db)
93 });
94 $app->helper(
95 v_users_verification_codes_list => sub {
96 state $v_users_verification_codes_list = Daje::Database::View::vUsersVerificationCodesList->new(db => shift->pg->db)
97 });
98 $app->helper(
99 v_users_documentation_list => sub {
100 state $v_users_documentation_list = Daje::Database::View::vUsersDocumentationList->new(db => shift->pg->db)
101 });}
102  
103 1;
104  
105  
106