about summary refs log tree commit diff
path: root/lib/MooseX/Net/API/Role
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-06-03 15:42:19 +0200
committerfranck cuny <franck@lumberjaph.net>2010-06-03 16:05:02 +0200
commit5ec146c5c6d78fa80f68ee764c549c0aac7badbe (patch)
tree799f830f1c8aa1d68460db7dda9eb36c6429779e /lib/MooseX/Net/API/Role
parentrename some methods (diff)
downloadnet-http-api-5ec146c5c6d78fa80f68ee764c549c0aac7badbe.tar.gz
update dist.ini
add abstract

update POD to use podweaver

fix
Diffstat (limited to 'lib/MooseX/Net/API/Role')
-rw-r--r--lib/MooseX/Net/API/Role/Authentication.pm24
-rw-r--r--lib/MooseX/Net/API/Role/Format.pm24
-rw-r--r--lib/MooseX/Net/API/Role/Request.pm24
-rw-r--r--lib/MooseX/Net/API/Role/Serialization.pm24
-rw-r--r--lib/MooseX/Net/API/Role/UserAgent.pm24
5 files changed, 10 insertions, 110 deletions
diff --git a/lib/MooseX/Net/API/Role/Authentication.pm b/lib/MooseX/Net/API/Role/Authentication.pm
index 7f741b3..7859154 100644
--- a/lib/MooseX/Net/API/Role/Authentication.pm
+++ b/lib/MooseX/Net/API/Role/Authentication.pm
@@ -1,5 +1,7 @@
 package MooseX::Net::API::Role::Authentication;
 
+# ABSTRACT: Add authentication informations to request header
+
 use Moose::Role;
 
 has api_username => (
@@ -45,11 +47,6 @@ after BUILDALL => sub {
 };
 
 1;
-__END__
-
-=head1 NAME
-
-MooseX::Net::API::Role::Authentication
 
 =head1 SYNOPSIS
 
@@ -64,20 +61,3 @@ MooseX::Net::API::Role::Authentication
 =item B<api_username>
 
 =back
-
-=head1 AUTHOR
-
-franck cuny E<lt>franck@lumberjaph.netE<gt>
-
-=head1 SEE ALSO
-
-=head1 LICENSE
-
-Copyright 2009, 2010 by Linkfluence
-
-http://linkfluence.net
-
-This library is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself.
-
-=cut
diff --git a/lib/MooseX/Net/API/Role/Format.pm b/lib/MooseX/Net/API/Role/Format.pm
index 37956bb..abffbe6 100644
--- a/lib/MooseX/Net/API/Role/Format.pm
+++ b/lib/MooseX/Net/API/Role/Format.pm
@@ -1,5 +1,7 @@
 package MooseX::Net::API::Role::Format;
 
+# ABSTRACT: Set appropriate format to request header
+
 use Moose::Role;
 use Moose::Util::TypeConstraints;
 
@@ -39,11 +41,6 @@ has api_format_mode => (
 );
 
 1;
-__END__
-
-=head1 NAME
-
-MooseX::Net::API::Role::Format
 
 =head1 SYNOPSIS
 
@@ -66,20 +63,3 @@ MooseX::Net::API::Role::Format
 =item B<api_format_mode>
 
 =back
-
-=head1 AUTHOR
-
-franck cuny E<lt>franck@lumberjaph.netE<gt>
-
-=head1 SEE ALSO
-
-=head1 LICENSE
-
-Copyright 2009, 2010 by Linkfluence
-
-http://linkfluence.net
-
-This library is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself.
-
-=cut
diff --git a/lib/MooseX/Net/API/Role/Request.pm b/lib/MooseX/Net/API/Role/Request.pm
index 3b97da6..5adb43c 100644
--- a/lib/MooseX/Net/API/Role/Request.pm
+++ b/lib/MooseX/Net/API/Role/Request.pm
@@ -1,5 +1,7 @@
 package MooseX::Net::API::Role::Request;
 
+# ABSTRACT: make HTTP request
+
 use Moose::Role;
 use HTTP::Request;
 use MooseX::Net::API::Error;
@@ -50,11 +52,6 @@ sub http_request {
 }
 
 1;
-__END__
-
-=head1 NAME
-
-MooseX::Net::API::Role::Request
 
 =head1 SYNOPSIS
 
@@ -75,20 +72,3 @@ MooseX::Net::API::Role::Request
 =item B<api_base_url>
 
 =back
-
-=head1 AUTHOR
-
-franck cuny E<lt>franck@lumberjaph.netE<gt>
-
-=head1 SEE ALSO
-
-=head1 LICENSE
-
-Copyright 2009, 2010 by Linkfluence
-
-http://linkfluence.net
-
-This library is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself.
-
-=cut
diff --git a/lib/MooseX/Net/API/Role/Serialization.pm b/lib/MooseX/Net/API/Role/Serialization.pm
index d4feb56..1a090d1 100644
--- a/lib/MooseX/Net/API/Role/Serialization.pm
+++ b/lib/MooseX/Net/API/Role/Serialization.pm
@@ -1,5 +1,7 @@
 package MooseX::Net::API::Role::Serialization;
 
+# ABSTRACT: do (de)serialization
+
 use 5.010;
 
 use Try::Tiny;
@@ -70,11 +72,6 @@ sub _load_serializer {
 }
 
 1;
-__END__
-
-=head1 NAME
-
-MooseX::Net::API::Role::Serialization
 
 =head1 SYNOPSIS
 
@@ -99,20 +96,3 @@ MooseX::Net::API::Role::Serialization
 =item B<deserialize>
 
 =back
-
-=head1 AUTHOR
-
-franck cuny E<lt>franck@lumberjaph.netE<gt>
-
-=head1 SEE ALSO
-
-=head1 LICENSE
-
-Copyright 2009, 2010 by Linkfluence
-
-http://linkfluence.net
-
-This library is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself.
-
-=cut
diff --git a/lib/MooseX/Net/API/Role/UserAgent.pm b/lib/MooseX/Net/API/Role/UserAgent.pm
index c21628a..3cb9714 100644
--- a/lib/MooseX/Net/API/Role/UserAgent.pm
+++ b/lib/MooseX/Net/API/Role/UserAgent.pm
@@ -1,5 +1,7 @@
 package MooseX::Net::API::Role::UserAgent;
 
+# ABSTRACT: create UserAgent
+
 use Moose::Role;
 use LWP::UserAgent;
 
@@ -20,11 +22,6 @@ has api_useragent => (
 );
 
 1;
-__END__
-
-=head1 NAME
-
-MooseX::Net::API::Role::UseAgent
 
 =head1 SYNOPSIS
 
@@ -37,20 +34,3 @@ MooseX::Net::API::Role::UseAgent
 =item B<api_useragent>
 
 =back
-
-=head1 AUTHOR
-
-franck cuny E<lt>franck@lumberjaph.netE<gt>
-
-=head1 SEE ALSO
-
-=head1 LICENSE
-
-Copyright 2009, 2010 by Linkfluence
-
-http://linkfluence.net
-
-This library is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself.
-
-=cut