Class: RunaboveStorage

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



287
288
289
# File 'lib/runabove.rb', line 287

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

#detail(name) ⇒ Object



291
292
293
# File 'lib/runabove.rb', line 291

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

#listObject



283
284
285
# File 'lib/runabove.rb', line 283

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