Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
/ ruby-smartdc Public archive
forked from ogom/ruby-smartdc

SmartDataCenter CloudApi client by ruby.

License

Notifications You must be signed in to change notification settings

giraffi/ruby-smartdc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smartdc

ruby-smartdc is a ruby client library for interacting with the Joyent SmartDataCenter CloudApi.

Installation

gem install smartdc

Usage

CLI

sdc-setup

Slid the command.

Program

require 'smartdc'

config = {
  "url"      => "https://example.com/",
  "version"  => "~6.5",
  "username" => "auth_user",
  "password" => "auth_pass"
}

client = Smartdc.new(config)
machines = client.machines.find
machines.each do |machine|
  puts machine.id
end

Copyright

Copyright (c) 2011 ogom. See LICENSE.md for further details.

About

SmartDataCenter CloudApi client by ruby.

Resources

License

Stars

Watchers

Forks

Packages

No packages published