Miquel Ruiz Martin > Opsview-REST-0.006 > Opsview::REST::QueryBuilder

Download:
Opsview-REST-0.006.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.006   Source   Latest Release: Opsview-REST-0.013

NAME ^

Opsview::REST::QueryBuilder - Role to transform attributes into a valid method URL

SYNOPSIS ^

    use Moo;
    
    has base => ( default => '/downtime' );

    with 'Opsview::REST::QueryBuilder'

DESCRIPTION ^

This is a role to help adding functionalities to the Opsview::REST. It only requires the consumer to have a "base", and it will generate a valid method URL when the consumer object is instantiated.

It offers the "as_string" method, which is handled by URI.

AUTHOR ^

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 by Miquel Ruiz.

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

syntax highlighting: