Sha256: bad69a2a360445211b54c2fb8bb280cbd430df1425621d3a648339feee6567c1
Contents?: true
Size: 833 Bytes
Versions: 7
Compression:
Stored size: 833 Bytes
Contents
unless Fog.mocking? module Fog module Rackspace class Servers # List all images (IDs and names only) # # ==== Returns # * response<~Fog::AWS::Response>: # * body<~Hash>: # * 'id'<~Integer> - Id of the image # * 'name'<~String> - Name of the image # * 'updated'<~String> - Last update timestamp for image # * 'created'<~String> - Creation timestamp for image # * 'status'<~String> - Status of image def get_images request( :expects => 200, :method => 'GET', :path => 'images.json' ) end end end end else module Fog module Rackspace class Servers def get_images end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems