- SEE ALSO
- COPYRIGHT AND LICENSE
Clustericious::Client::Meta::Route - metadata about a route'
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.
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' (
datetime), then those transformations are applied.
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.
Original author: Brian Duggan
Current maintainer: Graham Ollis <firstname.lastname@example.org>
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.