NAME

API::PleskExpand::Domains - extension module to support operations with Plesk domains (only create) from Plesk Expand.

SYNOPSIS

Directly not used, calls via API::Plesk.

use API::PleskExpand;
use API::Plesk::Response;

Some code

DESCRIPTION

The method used to add domain hosting account to a certain Plesk account from Plesk Expand.

METHODS

create()

Params: dname => 'yandex.ru', client_id => 9, 'template-id' => 1, # domain template id ftp_login => 'nrgsdasd', ftp_password => 'dasdasd',

Return: $VAR1 = bless( { 'answer_data' => [ { 'server_id' => '1', 'status' => 'ok', 'expiration' => '-1', 'tmpl_id' => '1', 'client_id' => '16', 'id' => '15' } ], 'error_codes' => '' }, 'API::Plesk::Response' );

EXPORT

None.

SEE ALSO

Blank.

AUTHOR

Odintsov Pavel <nrg[at]cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2008 by NRG

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.