1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/test.rb
Kevin Chan e403854446 GH-690 Joyent Cloud Provider
Squashed from fog/joyent
2012-02-27 17:33:20 -06:00

9 lines
318 B
Ruby

require './fog'
c = Fog::Compute.new(:provider => "Joyent",
:cloudapi_url => "https://10.99.99.26",
:cloudapi_username => "admin",
:cloudapi_password => "joypass123")
puts c.servers.inspect
puts c.keys.inspect
puts c.images.inspect
puts c.flavors.inspect