Class: RunaboveStackMysql

Inherits:
Runabove show all
Defined in:
lib/runabove.rb

Instance Attribute Summary

Attributes inherited from Runabove

#flavor, #image, #instance, #labs, #me, #price, #project, #region, #ssh, #stackMysql, #storage, #time, #token

Instance Method Summary collapse

Methods inherited from Runabove

#createConsumerKey, #initialize, #loadObjects, #raw_call, #timeServer

Constructor Details

This class inherits a constructor from Runabove

Instance Method Details

#create(data) ⇒ Object



313
314
315
# File 'lib/runabove.rb', line 313

def create(data)
  raw_call("post", "/stackMysql", data)
end

#delete(name) ⇒ Object



321
322
323
# File 'lib/runabove.rb', line 321

def delete(name)
  raw_call("delete", "/stackMysql/#{name}")
end

#detail(name) ⇒ Object



317
318
319
# File 'lib/runabove.rb', line 317

def detail(name)
  raw_call("get", "/stackMysql/#{name}")
end

#listObject



309
310
311
# File 'lib/runabove.rb', line 309

def list
  raw_call("get", "/stackMysql")
end

#status(name) ⇒ Object



325
326
327
# File 'lib/runabove.rb', line 325

def status(name)
   raw_call("get", "/stackMysql/#{name}/status")   
end