[SCM] libmessage-passing-perl Debian packaging branch, master, updated. debian/0.111-3-14-g44f6e88
Tomas Doran
bobtfish at bobtfish.net
Mon May 6 11:57:25 UTC 2013
The following commit has been merged in the master branch:
commit 3c4a66659ccc278897db1a8874c9e7bb889e9741
Author: Tomas Doran <bobtfish at bobtfish.net>
Date: Sun Jul 15 10:56:22 2012 +0100
Add some docs
diff --git a/lib/Message/Passing/Filter/Encoder/JSON.pm b/lib/Message/Passing/Filter/Encoder/JSON.pm
index 4a97340..69d3616 100644
--- a/lib/Message/Passing/Filter/Encoder/JSON.pm
+++ b/lib/Message/Passing/Filter/Encoder/JSON.pm
@@ -56,6 +56,10 @@ should be correctly serialized.
Performs the JSON encoding.
+=head2 pretty
+
+Attribute controlling if JSON is pretty printed.
+
=head1 SEE ALSO
=over
diff --git a/lib/Message/Passing/Role/HasUsernameAndPassword.pm b/lib/Message/Passing/Role/HasUsernameAndPassword.pm
index 2febef8..e914943 100644
--- a/lib/Message/Passing/Role/HasUsernameAndPassword.pm
+++ b/lib/Message/Passing/Role/HasUsernameAndPassword.pm
@@ -13,3 +13,31 @@ foreach my $name (qw/ username password /) {
1;
+=head1 NAME
+
+Message::Passing::Role::HasUsernameAndPassword - common username and password attributes
+
+=head1 SYNOPSIS
+
+ package Message::Passing::Output::MyOutput;
+ use Moo;
+ use namespace::clean -except => 'meta';
+
+ with 'Message::Passing::Role::HasUsernameAndPassword';
+
+=head1 METHODS
+
+=head2 username
+
+The username for a connection. Required, Str.
+
+=head2 password
+
+The password for a connection. Required, Str.
+
+=head1 AUTHOR, COPYRIGHT AND LICENSE
+
+See L<Message::Passing>.
+
+=cut
+
--
libmessage-passing-perl Debian packaging
More information about the Pkg-perl-cvs-commits
mailing list