File Coverage

blib/lib/Message/Passing/Role/Output.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             package Message::Passing::Role::Output;
2 17     17   81257 use Moo::Role;
  17         45  
  17         117  
3 17     17   5877 use Scalar::Util qw/ blessed /;
  17         68  
  17         1100  
4             #use namespace::clean -except => 'meta';
5              
6             requires 'consume';
7              
8 17     17   117 no Moo::Role;
  17         44  
  17         84  
9              
10             1;
11              
12             =head1 NAME
13              
14             Message::Passing::Role::Output - Consumes messages
15              
16             =head1 DESCRIPTION
17              
18             This is a role for classes which consumer messages (e.g. a Message::Passing output)
19              
20             =head1 REQUIRED METHODS
21              
22             =head2 consume
23              
24             Consume a message
25              
26             =head1 SEE ALSO
27              
28             =over
29              
30             =item L<Message::Passing>
31              
32             =item L<Message::Passing::Manual::Concepts>
33              
34             =back
35              
36             =head1 SPONSORSHIP
37              
38             This module exists due to the wonderful people at Suretec Systems Ltd.
39             <http://www.suretecsystems.com/> who sponsored its development for its
40             VoIP division called SureVoIP <http://www.surevoip.co.uk/> for use with
41             the SureVoIP API -
42             <http://www.surevoip.co.uk/support/wiki/api_documentation>
43              
44             =head1 AUTHOR, COPYRIGHT AND LICENSE
45              
46             See L<Message::Passing>.
47              
48             =cut