NAME

Sloth::Request

METHODS

uri_for

    $self->uri_for(
        resource => 'users',
        name => $user_name,
        { page => $page }
    )

Create a URI from a resource name, set of path components and an optional hash reference of query parameters.

AUTHOR

Oliver Charles

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Oliver Charles <sloth.cpan@ocharles.org.uk>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.