| 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 | |||