NAME

Opsview::REST::Config - Convenience object to transform its attributes into a /config URL endpoint

SYNOPSIS

use Opsview::REST::Config;

my $config = Opsview::REST::Config->new(
    'host',
    host => [qw/ hostA hostB /], 
);
$config->as_string; # '/config/host?host=hostA&host=hostB'

DESCRIPTION

You shouldn't be calling this directly, but be using the "config" method in Opsview::REST.

AUTHOR

  • Miquel Ruiz <mruiz@cpan.org>

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.