Clustericious::Client::Meta::Route - metadata about a route
Keep track of metadata about a particular route. This includes documentation and attributes.
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' (list, yamldoc, 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.