Created
July 31, 2009 16:39
-
-
Save bobmcwhirter/159312 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DeltaCloud.new( "name", "password", API_URL ) do |client| | |
puts client.flavors.inspect | |
end | |
==> | |
[{"memory"=>"1.7", "id"=>"m1-small", "storage"=>"160", "architecture"=>"i386"}, | |
{"memory"=>"7.5", "id"=>"m1-large", "storage"=>"850", "architecture"=>"x86_64"}, | |
{"memory"=>"15", "id"=>"m1-xlarge", "storage"=>"1690", "architecture"=>"x86_64"}, | |
{"memory"=>"1.7", "id"=>"c1-medium", "storage"=>"350", "architecture"=>"x86_64"}, | |
{"memory"=>"7", "id"=>"c1-xlarge", "storage"=>"1690", "architecture"=>"x86_64"} ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment