Clustericious::Client::Meta::Route - metadata about a route'
version 1.29
my $meta = Clustericious::Client::Meta::Route->new( client_class => 'Yars::Client', route_name => 'bucket_map, ); $meta->get('auto_failover');
Set a route attribute.
$meta->set(auto_failover => 1);
Get a route attribute.
$meta->get('auto_failover');
Get documentation for this route.
Set the documentation for a route.
The class of the client associated with this object.
The name of the route to which this object refers.
Process an array of arguments sent to this route.
This will look at the the route_arg specification that has been set up for this route, and use it to turn an array of parameters into hash for use by the method.
If any of the args have a 'preprocess' (list, yamldoc, datetime), then those transformations are applied.
list
yamldoc
datetime
If any required parameters are missing, an exception is thrown.
If any parameters have an 'alt' entry or are abbreviated, the full name is used instead.
Returns a hash of arguments, dies on failure.
See route_arg for a complete description of how arguments will be processed. Note that modifies_url entries are not processed here; that occurs just before the request is made.
Keep track of metadata about a particular route. This includes documentation and attributes.
Clustericious::Client::Meta
Original author: Brian Duggan
Current maintainer: Graham Ollis <plicease@cpan.org>
Contributors:
Curt Tilmes
Yanick Champoux
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.