blib/lib/Web/Authenticate/Session/Role.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 13 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use strict;
2 package Web::Authenticate::Session::Role;
3 $Web::Authenticate::Session::Role::VERSION = '0.002';
4 use Mouse::Role;
5 #ABSTRACT: A Mouse::Role that defines what methods a Web::Authenticate::Session object should contain.
6  
7  
8 requires 'id';
9  
10  
11 requires 'expires';
12  
13  
14 requires 'user';
15  
16 1;
17  
18 __END__
19  
20 =pod
21  
22 =encoding UTF-8
23  
24 =head1 NAME
25  
26 Web::Authenticate::Session::Role - A Mouse::Role that defines what methods a Web::Authenticate::Session object should contain.
27  
28 =head1 VERSION
29  
30 version 0.002
31  
32 =head1 METHODS
33  
34 =head2 id
35  
36 Returns the id of this session.
37  
38 my $session_id = $session->id;
39  
40 =head2 expires
41  
42 Returns the date of expiration for this session (format of date dependent upon the implementation).
43  
44 my $expires = $session->expires;
45  
46 =head2 user
47  
48 Returns the user for this session.
49  
50 my $user = $session->user;
51  
52 =head1 AUTHOR
53  
54 Adam Hopkins <srchulo@cpan.org>
55  
56 =head1 COPYRIGHT AND LICENSE
57  
58 This software is copyright (c) 2017 by Adam Hopkins.
59  
60 This is free software; you can redistribute it and/or modify it under
61 the same terms as the Perl 5 programming language system itself.
62  
63 =cut