Class: RunaboveSsh

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



269
270
271
# File 'lib/runabove.rb', line 269

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

#delete(name) ⇒ Object



277
278
279
# File 'lib/runabove.rb', line 277

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

#detail(name) ⇒ Object



273
274
275
# File 'lib/runabove.rb', line 273

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

#listObject



265
266
267
# File 'lib/runabove.rb', line 265

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