blib/lib/Beekeeper/JSONRPC.pm untested

filter: Statementstmt 0.0% 0 / 28 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 10 Podpod 0.0% 0 / 4 totaltotal 0.0% 0 / 42 SCAR 6.9
CC
1
Cov
0%
request
2.0
notification
2.0
response
2.0
CRAP 2.0
1 package Beekeeper::JSONRPC;
2  
3 use strict;
4 use warnings;
5  
6 our $VERSION = '0.09';
7  
8 use Beekeeper::JSONRPC::Request;
9 use Beekeeper::JSONRPC::Notification;
10 use Beekeeper::JSONRPC::Response;
11 use Beekeeper::JSONRPC::Error;
12  
13  
14 sub request {
15 my $class = shift;
16 Beekeeper::JSONRPC::Request->new(@_);
17 }
18  
19 sub notification {
20 my $class = shift;
21 Beekeeper::JSONRPC::Notification->new(@_);
22 }
23  
24 sub response {
25 my $class = shift;
26 Beekeeper::JSONRPC::Response->new(@_);
27 }
28  
29 sub error {
30 my $class = shift;
31 Beekeeper::JSONRPC::Error->new(@_);
32 }
33  
34 1;
35  
36 __END__