NAME
Regru::API::Hosting - REG.API v2 hosting management functions
VERSION
version 0.051
DESCRIPTION
REG.API hosting management functions. Most of their available only for partners
.
ATTRIBUTES
namespace
Always returns the name of category: hosting
. For internal uses only.
REG.API METHODS
nop
For testing purposes. Scope: everyone. Typical usage:
$resp = $client->hosting->nop;
Returns success response.
More info at Hosting management: nop.
set_jelastic_refill_url
Update Jelastic refill URL for current reseller. That url is used when client hits "Refill" button at his Jelastic account page. Keywords <service_id>
and <email>
in url will be replaced with service identifier and user email, which was used for Jelastic account registration. Scope partners.
Typical usage:
$resp = $client->hosting->set_jelastic_refill_url(
url => 'http://mysite.com?service_id=<service_id>&email=<email>'
);
Returns success response if URL was set. More info at Hosting management: set_jelastic_refill_url.
get_jelastic_refill_url
Fetch Jelastic refill URL for current reseller. Scope: partners. Typical usage:
$resp = $client->hosting->get_jelastic_refill_url;
Answer will contain the url
field, with reseller refill url.
More info at Hosting management: get_jelastic_refill_url.
get_parallelswpb_constructor_url
Retrieves an URL for ParallelsWPB constructor. Scope: clients. Typical usage:
$resp = $client->hosting->get_parallelswpb_constructor_url(
service_id => 2312677,
);
Answer will contain the url
field, with URL for ParallelsWPB constructor.
More info at Hosting management: get_parallelswpb_constructor_url.
SEE ALSO
BUGS
Please report any bugs or feature requests on the bugtracker website https://github.com/regru/regru-api-perl/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
AUTHORS
Polina Shubina <shubina@reg.ru>
Anton Gerasimov <a.gerasimov@reg.ru>
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by REG.RU LLC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.