merqlove/do_snapshot

View on GitHub
lib/do_snapshot/rspec/fixtures/digitalocean/v2/show_droplet.json

Summary

Maintainability
Test Coverage
{
  "droplet": {
    "id": 100823,
    "name": "example.com",
    "memory": 512,
    "vcpus": 1,
    "disk": 20,
    "locked": false,
    "status": "active",
    "kernel": {
      "id": 2233,
      "name": "CentOS 6.4 x64 vmlinuz-2.6.32-358.6.2.el6.x86_64",
      "version": "2.6.32-358.6.2.el6.x86_64"
    },
    "created_at": "2014-11-14T16:36:31Z",
    "features": [
      "ipv6",
      "virtio"
    ],
    "backup_ids": [
    ],
    "snapshot_ids": [
      5019770,
      5019903,
      5020783,
      5030783
    ],
    "image": {
      "id": 562354,
      "name": "CentOS 6.4 x64",
      "distribution": "CentOS",
      "slug": "centos-6-4-x64",
      "public": false,
      "regions": [
        "nyc1",
        "ams1",
        "sfo1",
        "nyc2",
        "ams2",
        "sgp1",
        "lon1",
        "nyc3",
        "ams3",
        "nyc3",
        "fra1"
      ],
      "created_at": "2014-10-17T20:24:33Z",
      "type": "snapshot",
      "min_disk_size": 20
    },
    "size": {
      "slug": "512mb",
      "memory": 512,
      "vcpus": 1,
      "disk": 20,
      "transfer": 1.0,
      "price_monthly": 5.0,
      "price_hourly": 0.00744,
      "regions": [
        "nyc1",
        "sgp1",
        "ams1",
        "sfo1",
        "nyc2",
        "lon1",
        "nyc3",
        "ams3",
        "ams2",
        "fra1"
      ]
    },
    "size_slug": "512mb",
    "networks": {
      "v4": [
        {
          "ip_address": "104.131.186.241",
          "netmask": "255.255.240.0",
          "gateway": "104.131.176.1",
          "type": "public"
        }
      ],
      "v6": []
    },
    "region": {
      "name": "Amsterdam 1",
      "slug": "ams1",
      "sizes": [
        "16gb",
        "2gb",
        "1gb",
        "4gb",
        "8gb",
        "512mb"
      ],
      "features": [
        "virtio",
        "backups"
      ],
      "available": true
    }
  }
}