| 1 | package Koha::Contrib::ARK::Action; | ||
| 2 | # ABSTRACT: ARK Action roles | ||
| 3 | $Koha::Contrib::ARK::Action::VERSION = '1.0.3'; | ||
| 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.3 | ||
| 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) 2018 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 |