2. Get Started with SmartDataCenter
•Create Account
•Get a username and password.
•Customers
http://www.joyent.com/customers/
‣ http://www.joyentcloud.com/
‣ http://z-cloud.jp/
‣ etc...
11. Return type of the variable
# Type of a variable to mash. (Default)
client.request.return_variable = 'mash'
puts client.datacenters.find
#=> #<Hashie::Mash example="example.com">
# Type of a variable to hash.
client.request.return_variable = 'hash'
puts client.datacenters.find
#=> {"example"=>"https://example.com"}
# Type of a variable to json.
client.request.return_variable = 'json'
puts client.datacenters.find
#=> {"example": "https://example.com"}