ARK/Action.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
action
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Koha::Contrib::ARK::Action;
2 # ABSTRACT: ARK Action roles
3 $Koha::Contrib::ARK::Action::VERSION = '1.0.5';
4 use Moose::Role;
5 use Modern::Perl;
6  
7 requires 'action';
8  
9 has ark => ( is => 'rw', isa => 'Koha::Contrib::ARK' );
10  
11  
12 sub action {
13 my $self = shift;
14  
15 say "action on ARK";
16 }
17  
18 1;
19  
20 __END__
21  
22 =pod
23  
24 =encoding UTF-8
25  
26 =head1 NAME
27  
28 Koha::Contrib::ARK::Action - ARK Action roles
29  
30 =head1 VERSION
31  
32 version 1.0.5
33  
34 =head1 ATTRIBUTES
35  
36 =head2 ark
37  
38 L<Koha::Contrib::ARK> object.
39  
40 =head1 METHODS
41  
42 =head2 action($biblionumber, $record)
43  
44 Do something with Koha biblio record.
45  
46 =head1 AUTHOR
47  
48 Frédéric Demians <f.demians@tamil.fr>
49  
50 =head1 COPYRIGHT AND LICENSE
51  
52 This software is Copyright (c) 2020 by Fréderic Demians.
53  
54 This is free software, licensed under:
55  
56 The GNU General Public License, Version 3, June 2007
57  
58 =cut