Opsview::REST::Event - Convenience object to transform its attributes into a /event valid query
use Opsview::REST::Event; my $event = Opsview::REST::Event->new( host => [qw/ hostA hostB /], startTime => '2012-01-12 19:42:22' ); $event->as_string; # '/event?startTime=2012-01-12%2019:42:22&host=hostA&host=hostB'
You shouldn't be calling this directly, but be using the "events" method in Opsview::REST.
Miquel Ruiz <firstname.lastname@example.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.