File Coverage

blib/lib/HTTP/CookieMonster/Cookie.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1 3     3   14758 use strict;
  3         5  
  3         104  
2 3     3   13 use warnings;
  3         5  
  3         137  
3              
4             package HTTP::CookieMonster::Cookie;
5             $HTTP::CookieMonster::Cookie::VERSION = '0.09';
6 3     3   494 use Moo;
  3         11082  
  3         17  
7              
8             # in order of args required in $cookie_jar->scan callback
9              
10             has 'version' => ( is => 'rw', );
11             has 'key' => ( is => 'rw', );
12             has 'val' => ( is => 'rw', );
13             has 'path' => ( is => 'rw', );
14             has 'domain' => ( is => 'rw', );
15             has 'port' => ( is => 'rw', );
16             has 'path_spec' => ( is => 'rw', );
17             has 'secure' => ( is => 'rw', );
18             has 'expires' => ( is => 'rw', );
19             has 'discard' => ( is => 'rw', );
20             has 'hash' => ( is => 'rw', );
21              
22             1;
23              
24             # ABSTRACT: Cookie representation used by HTTP::CookieMonster
25              
26             __END__