Sha256: a2fc238b10d8560772316aebe5301b514722156743788f85f419c5d0e6da7241

Contents?: true

Size: 626 Bytes

Versions: 7

Compression:

Stored size: 626 Bytes

Contents

module Fog
  module Compute
    class Slicehost
      class Real

        require 'fog/compute/parsers/slicehost/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::Compute::Slicehost::GetImages.new,
            :path     => 'images.xml'
          )
        end

      end
    end
  end
end

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
brightbox-cli-0.13.1 lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/slicehost/get_images.rb
brightbox-cli-0.13.0 lib/brightbox-cli/vendor/fog/lib/fog/compute/requests/slicehost/get_images.rb
fog-0.11.0 lib/fog/compute/requests/slicehost/get_images.rb
fog-0.10.0 lib/fog/compute/requests/slicehost/get_images.rb
fog4encbs-0.9.0.1 lib/fog/compute/requests/slicehost/get_images.rb
fog4encbs-0.9.0 lib/fog/compute/requests/slicehost/get_images.rb
fog-0.9.0 lib/fog/compute/requests/slicehost/get_images.rb