Sha256: ece9af3f6781b8c2cdfb0fb37c44c6de51bd31239fef3e5d121807d85b1b1863

Contents?: true

Size: 603 Bytes

Versions: 9

Compression:

Stored size: 603 Bytes

Contents

module Fog
  module NewServers
    class Compute
      class Real

        # List images
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Array>:
        #     * 'id'<~String>  - Id of the image
        #     * 'name'<~String> - Name of the image
        #     * 'size'<~String> - Size of the image
        #
        def list_images
          request(
            :expects  => 200,
            :method   => 'GET',
            :parser   => Fog::ToHashDocument.new,
            :path     => 'api/listImages'
          )
        end

      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fog-0.8.2 lib/fog/compute/requests/new_servers/list_images.rb
fog-0.8.1 lib/fog/compute/requests/new_servers/list_images.rb
fog-0.8.0 lib/fog/compute/requests/new_servers/list_images.rb
fog-0.7.2 lib/fog/compute/requests/new_servers/list_images.rb
fog-0.7.1 lib/fog/compute/requests/new_servers/list_images.rb
fog-0.7.0 lib/fog/compute/requests/new_servers/list_images.rb
fog-0.6.0 lib/fog/compute/requests/new_servers/list_images.rb
fog-0.5.3 lib/fog/compute/requests/new_servers/list_images.rb
fog-0.5.2 lib/fog/compute/requests/new_servers/list_images.rb