MooseX::Role::XMLRPC::Client - Provide provide the needed bits to be a XML-RPC client
This document describes version 0.06 of MooseX::Role::XMLRPC::Client - released April 03, 2012 as part of MooseX-Role-XMLRPC-Client.
package MultipleWiths; use Moose; # ... # we don't want to keep any login information here with 'MooseX::Role::XMLRPC::Client' => { name => 'bugzilla', uri => 'https://bugzilla.redhat.com/xmlrpc.cgi', login_info => 0, }; # basic info with 'MooseX::Role::XMLRPC::Client' => { name => 'foo', uri => 'http://foo.org/a/b/c', }; sub _build_foo_userid { 'userid' } sub _build_foo_passwd { 'passw0rd' } sub foo_login { 'do login magic here..' } sub foo_logout { 'do logout magic here...' }
This is a Moose role that provides methods and attributes needed to enable a class to serve as an XML-RPC client. It is parameterized through MooseX::Role::Parameterized, so you can customize how it embeds in your class. You can even embed it multiple times with different parameterization, if it strikes your fancy :-)
This role generates methods and attributes depending on these parameters. None of them are required.
This parameter defaults to "xmlrpc". It serves as a prefix to all generated methods and attributes. File and URI types are coerced.
An arrayref of traits to apply to the attributes.
Right now, the best documentation can be found in the tests.
Please see those modules/websites for more information related to this module.
RPC::XML::Client
The development version is on github at http://github.com/RsrchBoy/moosex-role-xmlrpc-client and may be cloned from git://github.com/RsrchBoy/moosex-role-xmlrpc-client.git
Please report any bugs or feature requests on the bugtracker website https://github.com/RsrchBoy/moosex-role-xmlrpc-client/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Chris Weyl <cweyl@alumni.drew.edu>
This software is Copyright (c) 2011 by Chris Weyl.
This is free software, licensed under:
The GNU Lesser General Public License, Version 2.1, February 1999
To install MooseX::Role::XMLRPC::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MooseX::Role::XMLRPC::Client
CPAN shell
perl -MCPAN -e shell install MooseX::Role::XMLRPC::Client
For more information on module installation, please visit the detailed CPAN module installation guide.