| 1 | package Net::OpenSocial::Client::HTTPRequestBuilder; | ||
| 2 | |||
| 3 | 1 | ▶ | use Any::Moose '::Role'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 1 | requires qw(build_request); | |
| 6 | |||
| 7 | 1 | 1; | |
| 8 | |||
| 9 | =head1 NAME | ||
| 10 | |||
| 11 | Net::OpenSocial::Client::HTTPRequestBuilder - HTTP request builder role | ||
| 12 | |||
| 13 | =head1 SYNOPSIS | ||
| 14 | |||
| 15 | package MyBuilder; | ||
| 16 | use Any::Moose; | ||
| 17 | with 'Net::OpenSocial::Client::HTTPRequestBuilder'; | ||
| 18 | |||
| 19 | sub build_request { | ||
| 20 | ... | ||
| 21 | } | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | Build a HTTP::Request object. | ||
| 26 | |||
| 27 | =head1 METHODS | ||
| 28 | |||
| 29 | =head2 build_request | ||
| 30 | |||
| 31 | Interface. | ||
| 32 | Implement this method in a class which adopts this role. | ||
| 33 | |||
| 34 | =head1 AUTHOR | ||
| 35 | |||
| 36 | Lyo Kato, E<lt>lyo.kato@gmail.comE<gt> | ||
| 37 | |||
| 38 | =head1 COPYRIGHT AND LICENSE | ||
| 39 | |||
| 40 | Copyright (C) 2009 by Lyo Kato | ||
| 41 | |||
| 42 | This library is free software; you can redistribute it and/or modify | ||
| 43 | it under the same terms as Perl itself, either Perl version 5.8.8 or, | ||
| 44 | at your option, any later version of Perl 5 you may have available. | ||
| 45 | |||
| 46 | =cut | ||
| 47 | |||