Regru::API::Hosting - REG.API v2 hosting management functions
version 0.043
REG.API hosting management. Only two functions are available for now, for Jelastic resellers.
Always returns the name of category: hosting. For internal uses only.
hosting
For testing purposes. Scope: everyone. Typical usage:
$resp = $client->hosting->nop;
Returns success response.
More info at Hosting management: nop.
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.
<service_id>
<email>
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.
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.
Regru::API
Regru::API::Role::Client
REG.API Hosting management
REG.API Common error codes.
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.
Polina Shubina <shubina@reg.ru>
Anton Gerasimov <a.gerasimov@reg.ru>
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.
To install Regru::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Regru::API
CPAN shell
perl -MCPAN -e shell install Regru::API
For more information on module installation, please visit the detailed CPAN module installation guide.