Sha256: 71b7da5c044d1e07ea8c7510c597d33ef1a9682a778311827308353ea5c7ad22
Contents?: true
Size: 667 Bytes
Versions: 46
Compression:
Stored size: 667 Bytes
Contents
module Fog module Slicehost class Real require 'fog/slicehost/parsers/get_images' # 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 class Mock def get_images raise MockNotImplemented.new("Contributions welcome!") end end end end
Version data entries
46 entries across 46 versions & 1 rubygems