Passing/Role/Output.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 18 / 18 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Passing/Role/HasUsernameAndPassword.pm ↑ Summary
1 package Message::Passing::Role::Output;
2 17 ▶use Moo::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 17 ▶use JSON qw/ to_json /;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 17 ▶use Scalar::Util qw/ blessed /;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 #use namespace::clean -except => 'meta';
6  
7 17 requires 'consume';
8  
9 17 ▶no Moo::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 17 1;
12  
13 =head1 NAME
14  
15 Message::Passing::Role::Output - Consumes messages
16  
17 =head1 DESCRIPTION
18  
19 This is a role for classes which consumer messages (e.g. a Message::Passing output)
20  
21 =head1 REQUIRED METHODS
22  
23 =head2 consume
24  
25 Consume a message
26  
27 =head1 SEE ALSO
28  
29 =over
30  
31 =item L<Message::Passing>
32  
33 =item L<Message::Passing::Manual::Concepts>
34  
35 =back
36  
37 =head1 SPONSORSHIP
38  
39 This module exists due to the wonderful people at Suretec Systems Ltd.
40 <http://www.suretecsystems.com/> who sponsored its development for its
41 VoIP division called SureVoIP <http://www.surevoip.co.uk/> for use with
42 the SureVoIP API -
43 <http://www.surevoip.co.uk/support/wiki/api_documentation>
44  
45 =head1 AUTHOR, COPYRIGHT AND LICENSE
46  
47 See L<Message::Passing>.
48  
49 =cut
« Passing/Role/HasUsernameAndPassword.pm ↑ Summary