Sha256: c052b59840606d9fdbff764429ce8a5384a4322f55f08c583ddb834312ac1271
Contents?: true
Size: 657 Bytes
Versions: 16
Compression:
Stored size: 657 Bytes
Contents
unless Fog.mocking? module Fog class Slicehost # Get list of images # # ==== Returns # * response<~Excon::Response>: # * body<~Array>: # * 'id'<~Integer> - Id of the image # * 'name'<~String> - Name of the image def get_images request( :expects => 200, :method => 'GET', :parser => Fog::Parsers::Slicehost::GetImages.new, :path => 'images.xml' ) end end end else module Fog class Slicehost def get_images raise MockNotImplemented.new("Contributions welcome!") end end end end
Version data entries
16 entries across 16 versions & 1 rubygems