atlantic_net

Build Status Coverage Status Gem Version MIT licensed

A lightweight ruby interface for interacting with the Atlantic.net API.

Installation

Add atlantic_net to your Gemfile:

gem "atlantic_net"

Usage

# Require the atlantic_net library
require 'atlantic_net'

# Instantiate the client with your access key and private key
client = AtlanticNet.new(access_key, private_key)

# List instances
instances = client.list_instances

# Reboot an instance
subject.reboot_instance(instances.first["InstanceId"])