NAME

Socialtext::Resting::DefaultRester - load a rester from a config file.

SYNOPSIS

Load server, workspace and username from a file, so you don't need to specify that for every program using Socialtext::Resting.

use Socialtext::Resting::DefaultRester;

my $rester = Socialtext::Resting::DefaultRester->new;
print $rester->get_page('Foo');

FUNCTIONS

new

Create a new Default Rester by using values from ~/.wikeditrc.

The config file is expected to be in the following format:

server = your-server
workspace = some-workspace
username = your-user
password = your-password

AUTHOR

Luke Closs, <luke.closs at socialtext.com>

BUGS

Please report any bugs or feature requests to bug-socialtext-default-rester at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Socialtext-Resting-Utils. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Socialtext::Resting::DefaultRester

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2006 Luke Closs, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.