Clustericious::Client::Meta - simple meta object for constructing clients
version 1.00
Add or replace documentation about a route.
Parameters : - the name of the client class - the name of the route - documentation about the route's arguments
Get documentation for a route.
$meta->get_route_doc($class,$route_name);
Add an attribute for a route.
Parameters :
- the name of the attribute - the value of the attribute.
Recognized attributes :
- dont_read_files : if set, no attempt will be made to treat arguments as yaml files. - auto_failover : if set, when a connection fails and does not return a status code, each url in the list of configured failover_url's will be tried in turn.
Like the above but retrieve an attribute.
Add an object>
Parameters : - the name of the client class - the name of the object - documentation about the object.
Return an array ref of routes/objects.
Each element is a two element array; the first element is the name, the second is documentation.
Clustericious::Client, Clustericious
original author: Brian Duggan
current maintainer: Graham Ollis <plicease@cpan.org>
contributors:
Curt Tilmes
This software is copyright (c) 2013 by NASA GSFC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Clustericious, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Clustericious
CPAN shell
perl -MCPAN -e shell install Clustericious
For more information on module installation, please visit the detailed CPAN module installation guide.