Иван Бессарабов > Trac-RPC-1.0.0 > Trac::RPC::Base

Download:
Trac-RPC-1.0.0.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 1.0.0   Source  

NAME ^

Trac::RPC::Base

VERSION ^

version 1.0.0

NAME ^

Trac::RPC::Base - abstract class for Trac::RPC classes

GENERAL FUNCTIONS ^

new

Get: 1) $class 2) $params

Return: 1) object

Sub creates an object

call

Get: 1) $self 2) @params with params to send to trac's xml rpc interface

Return: 1) scalar with some data recived from trac

Sending request to trac and returns the answer.

    $self->call(
        'wiki.putPage',
        RPC::XML::string->new($page),
        RPC::XML::string->new($content),
        RPC::XML::struct->new()
    );

error

Handler that checks for different types of erros and throws exceptions.

AUTHOR ^

Ivan Bessarabov <ivan@bessarabov.ru>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2011 by Ivan Bessarabov.

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: