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.