App::KGB::Client::ServerRef - server instance in KGB client
use App::KGB::Client::ServerRef; my $s = App::KGB::Client::ServerRef->new( { uri => "http://some.server:port/", password => 's3cr1t', timeout => 5 } ); $s->send_changes( $repo_id, $commit, $branch, $module );
App::KGB::Client::ServerRef is used in App::KGB::Client to refer to remote KGB server instances. It encapsulates sending change sets to the remote server, maintaining the SOAP protocol encapsulation and authentication to the remote KGB server.
The usual constructor. Accepts a hashref of initialiers.
The URI of the remote KGB server. Something like http://some.host:port/.
http://some.host:port/
This is the SOAP proxy used to communicate with the server. If omitted, defaults to the value of uri field, with ?session=KGB appended.
?session=KGB
Password, to be used for authentication to the remote KGB server.
Specifies the timeout for the SOAP transaction in seconds. Defaults to 15 seconds.
Be verbose about communicating with KGB server.
Transmits the change set and all data about it along with the necessary authentication hash. If error occures, an exception is thrown.
Message parameters are passed as arguments in the following order:
To install App::KGB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::KGB
CPAN shell
perl -MCPAN -e shell install App::KGB
For more information on module installation, please visit the detailed CPAN module installation guide.