NAME

Webservice::OVH::Order::Hosting::Web

SYNOPSIS

use Webservice::OVH;

my $ovh = Webservice::OVH->new_from_json("credentials.json");

my $free_email_info = $ovh->order->hosting->web->free_email_info;

DESCRIPTION

Provides the possibility to activate the free hostig package.

METHODS

_new

Internal Method to create the Web object. This method is not ment to be called directly.

  • Parameter: $api_wrapper - ovh api wrapper object, $module - root object

  • Return: Webservice::OVH::Order::Hosting::Web

  • Synopsis: Webservice::OVH::Order::Hosting::Web->_new($ovh_api_wrapper, $module);

free_email_info

Gets information if free webhosting is available.

  • Parameter: $domain - target domain for free webhosting

  • Return: HASH

  • Synopsis: Webservice::OVH::Order::Hosting::Web->_new('mydomain.de');

activate_free_email

Generates an order and pays the order for free webhosting.

  • Parameter: $domain - target domain for free webhosting

  • Return: Webservice::Me::Order

  • Synopsis: my $order = Webservice::OVH::Order::Hosting::Web->activate_free_email('mydomain.de');