Opsview::REST::APICaller - Role to call the Opsview API
use Moo; with 'Opsview::REST::APICaller'; $self->get($url); $self->post($url, $data); $self->delete($url);
This role implements the actual HTTP calls. It uses HTTP::Tiny to do so. Only get and post implemented at the moment.
get
post
Miquel Ruiz <mruiz@cpan.org>
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.
To install Opsview::REST, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Opsview::REST
CPAN shell
perl -MCPAN -e shell install Opsview::REST
For more information on module installation, please visit the detailed CPAN module installation guide.