File Coverage

blib/lib/WebService/Hydra/Exception/InvalidLogoutChallenge.pm
Criterion Covered Total %
statement 16 18 88.8
branch n/a
condition 4 4 100.0
subroutine 5 6 83.3
pod 0 2 0.0
total 25 30 83.3


line stmt bran cond sub pod time code
1             package WebService::Hydra::Exception::InvalidLogoutChallenge;
2 5     5   288780 use strict;
  5         15  
  5         308  
3 5     5   35 use warnings;
  5         13  
  5         351  
4 5     5   766 use Object::Pad;
  5         12412  
  5         37  
5              
6             our $VERSION = '0.005'; ## VERSION
7              
8 1     1   505 class WebService::Hydra::Exception::InvalidLogoutChallenge :isa(WebService::Hydra::Exception) {
  1         14  
  1         123  
9             field $redirect_to :param :reader = undef;
10              
11 0     0 0 0 sub BUILDARGS {
  0         0  
12 7     7 0 2930 my ($class, %args) = @_;
13              
14 7   100     36 $args{message} //= 'Invalid Logout Challenge';
15 7   100     27 $args{category} //= 'client';
16              
17 7         89 return %args;
18             }
19             }
20              
21             1;