Client/Type/Protocol.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Client/Type/Operation.pm ↑ Summary Client/Type/Service.pm »
1 package Net::OpenSocial::Client::Type::Protocol;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶use base 'Exporter';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 our @EXPORT_OK = qw(REST RPC);
9  
10 1 ▶use constant REST => 0;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use constant RPC => 1;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 1 1;
14  
15 =head1 NAME
16  
17 Net::OpenSocial::Client::Type::Protocol - Constants for protocol-type
18  
19 =head1 SYNOPSIS
20  
21 use Net::OpenSocial::Client::Type::Protocol qw(REST RPC);
22 say REST;
23 say RPC;
24  
25 =head1 DESCRIPTION
26  
27 Constants for protocol-type
28  
29 =head1 VALUES
30  
31 =over 4
32  
33 =item REST
34  
35 Use RESTful API.
36 See L<Net::OpenSocial::Client::Protocol::REST>.
37  
38 =item RPC
39  
40 Use RPC.
41 See L<Net::OpenSocial::Client::Protocol::RPC>.
42  
43 =back
44  
45 =head1 AUTHOR
46  
47 Lyo Kato, E<lt>lyo.kato@gmail.comE<gt>
48  
49 =head1 COPYRIGHT AND LICENSE
50  
51 Copyright (C) 2009 by Lyo Kato
52  
53 This library is free software; you can redistribute it and/or modify
54 it under the same terms as Perl itself, either Perl version 5.8.8 or,
55 at your option, any later version of Perl 5 you may have available.
56  
57 =cut
58  
« Client/Type/Operation.pm ↑ Summary Client/Type/Service.pm »