<commit_before># Droplet Actions

** Available Methods**

* `enableBackups`
* `disableBackups`
* `reboot`
* `powerCycle`
* `shutdown`
* `powerOff`
* `powerOn`
* `restore`
* `passwordReset`
* `resize`
* `rebuild`
* `rename`
* `changeKernel`
* `enableIPv6`
* `enablePrivateNetworking`
* `snapshot`
* `retrieve`

You can chain some of the methods, but you must pass the request each time. This may end up changing, but the
API should remain the same.<commit_msg>[DropletActions] enable backups doc (#24)<commit_after># Droplet Actions

** Available Methods**

* `enableBackups`
* `disableBackups`
* `reboot`
* `powerCycle`
* `shutdown`
* `powerOff`
* `powerOn`
* `restore`
* `passwordReset`
* `resize`
* `rebuild`
* `rename`
* `changeKernel`
* `enableIPv6`
* `enablePrivateNetworking`
* `snapshot`
* `retrieve`

You can chain some of the methods, but you must pass the request each time. This may end up changing, but the
API should remain the same.

## DropletActionsRequest properties

| Name             | Description                       | Type   | Required |
|------------------|-----------------------------------|--------|----------|
| `droplet_id`     | ID of the Droplet                 | string | *        |

Enable Backups
--------------

Enable backups on the specified Droplet. This method is chainable.

### Example Usage

```php
<?php

use \wappr\digitalocean\DropletActions;
use wappr\digitalocean\Requests\DropletActions\DropletActionsRequest;

include 'vendor/autoload.php';
$resource = new DropletActions;
$response = $resource->enableBackups(new DropletActionsRequest('1234'));
```
{'fraction_non_alphanumeric': 0.17385866166353972, 'fraction_numerical': 0.0050031269543464665, 'mean_word_length': 3.289544235924933, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4114195', 'n_tokens_mistral': 522, 'n_tokens_neox': 499, 'n_words': 141}