Sha256: 379c7773b68129403b6224ea533ef65b7dc2d3e5e067da50699cbe3a2ea1223e

Contents?: true

Size: 607 Bytes

Versions: 11

Compression:

Stored size: 607 Bytes

Contents

module Fog
  module Compute
    class BareMetalCloud
      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

11 entries across 11 versions & 5 rubygems

Version Path
fog-1.5.0 lib/fog/bare_metal_cloud/requests/compute/list_images.rb
rackspace-fog-1.4.2 lib/rackspace-fog/bare_metal_cloud/requests/compute/list_images.rb
fog-1.4.0 lib/fog/bare_metal_cloud/requests/compute/list_images.rb
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/lib/fog/bare_metal_cloud/requests/compute/list_images.rb
michiels-fog-1.3.1 lib/fog/bare_metal_cloud/requests/compute/list_images.rb
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/lib/fog/bare_metal_cloud/requests/compute/list_images.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/lib/fog/bare_metal_cloud/requests/compute/list_images.rb
fog-1.3.1 lib/fog/bare_metal_cloud/requests/compute/list_images.rb
fog-1.3.0 lib/fog/bare_metal_cloud/requests/compute/list_images.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/lib/fog/bare_metal_cloud/requests/compute/list_images.rb
fog-1.2.0 lib/fog/bare_metal_cloud/requests/compute/list_images.rb