Sha256: cbaeeefdddd5a166c659b63ccc846f1344926c3e5aea67e9bbe81f014c46201f

Contents?: true

Size: 705 Bytes

Versions: 44

Compression:

Stored size: 705 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

      class Mock

        def list_images
          Fog::Mock.not_implemented
        end

      end
    end
  end
end

Version data entries

44 entries across 44 versions & 3 rubygems

Version Path
fog-0.5.1 lib/fog/compute/requests/new_servers/list_images.rb
fog-0.5.0 lib/fog/compute/requests/new_servers/list_images.rb
phpfog-fog-0.4.1.3 lib/fog/compute/requests/new_servers/list_images.rb
phpfog-fog-0.4.1.2 lib/fog/compute/requests/new_servers/list_images.rb
phpfog-fog-0.4.1.1 lib/fog/compute/requests/new_servers/list_images.rb
phpfog-fog-0.4.1 lib/fog/compute/requests/new_servers/list_images.rb
fog-0.4.1 lib/fog/compute/requests/new_servers/list_images.rb
fog-0.4.0 lib/fog/new_servers/requests/compute/list_images.rb
fog-0.3.34 lib/fog/new_servers/requests/compute/list_images.rb
fog-0.3.33 lib/fog/new_servers/requests/compute/list_images.rb
fog-0.3.32 lib/fog/new_servers/requests/compute/list_images.rb
fog-0.3.31 lib/fog/new_servers/requests/compute/list_images.rb
fog-0.3.30 lib/fog/new_servers/requests/compute/list_images.rb
fog-0.3.29 lib/fog/new_servers/requests/compute/list_images.rb
fog-0.3.28 lib/fog/new_servers/requests/compute/list_images.rb
fog-0.3.27 lib/fog/new_servers/requests/compute/list_images.rb
fog-0.3.26 lib/fog/new_servers/requests/compute/list_images.rb
fog-0.3.25 lib/fog/new_servers/requests/compute/list_images.rb
fog-0.3.24 lib/fog/new_servers/requests/compute/list_images.rb
bbcloud-0.8.1 lib/bbcloud/vendor/fog-0.3.23/lib/fog/new_servers/requests/compute/list_images.rb