Method: Ftl::Client#images
- Defined in:
- lib/ftl/client.rb
#images(args = {}) ⇒ Object Also known as: describe_images
TODO: Make this better by including more details of block devices
211 212 213 214 215 216 217 218 219 220 |
# File 'lib/ftl/client.rb', line 211 def images(args={}) hashes = con.describe_images('Owner' => 'self').body['imagesSet'].collect do |hash| h = {} h[:image_id] = hash['imageId'] h[:name] = hash['name'] h[:rootDeviceType] = hash['rootDeviceType'] h end puts Formatador.display_table(hashes) end |