NAME
Opsview::REST::APICaller - Role to call the Opsview API
SYNOPSIS
use Moo;
with 'Opsview::REST::APICaller';
$self->get($url);
$self->post($url, $data);
$self->delete($url);
DESCRIPTION
This role implements the actual HTTP calls. It uses HTTP::Tiny to do so. Only get
and post
implemented at the moment.
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.