Miquel Ruiz Martin > Opsview-REST-0.010 > Opsview::REST::APICaller

Download:
Opsview-REST-0.010.tar.gz

Dependencies

Annotate this POD

Website

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

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 ^

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: