Sha256: 8e1c0f1064b4300a906c50c700b41dd09087b812ea12c75364e5c55281919604

Contents?: true

Size: 607 Bytes

Versions: 12

Compression:

Stored size: 607 Bytes

Contents

module Fog
  module Compute
    class OracleCloud
      class Real
				def get_image_list(name)
          name.sub! "/Compute-#{@identity_domain}/#{@username}/", ''
 					response = request(
            :expects  => 200,
            :method   => 'GET',
            :path     => "/imagelist/Compute-#{@identity_domain}/#{@username}/#{name}",
            :headers  => {
              'Content-Type' => 'application/oracle-compute-v3+json',
              'Accept' => 'application/oracle-compute-v3+json'
            }
          )
          response
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
fog-oraclecloud-0.1.12 lib/fog/oraclecloud/requests/compute/get_image_list.rb
fog-oraclecloud-0.1.11 lib/fog/oraclecloud/requests/compute/get_image_list.rb
fog-oraclecloud-0.1.10 lib/fog/oraclecloud/requests/compute/get_image_list.rb
fog-oraclecloud-0.1.9 lib/fog/oraclecloud/requests/compute/get_image_list.rb
fog-oraclecloud-0.1.8 lib/fog/oraclecloud/requests/compute/get_image_list.rb
fog-oraclecloud-0.1.7 lib/fog/oraclecloud/requests/compute/get_image_list.rb
fog-oraclecloud-0.1.6 lib/fog/oraclecloud/requests/compute/get_image_list.rb
fog-oraclecloud-0.1.5 lib/fog/oraclecloud/requests/compute/get_image_list.rb
fog-oraclecloud-0.1.4 lib/fog/oraclecloud/requests/compute/get_image_list.rb
fog-oraclecloud-0.1.3 lib/fog/oraclecloud/requests/compute/get_image_list.rb
fog-oraclecloud-0.1.2 lib/fog/oraclecloud/requests/compute/get_image_list.rb
fog-oraclecloud-0.1.1 lib/fog/oraclecloud/requests/compute/get_image_list.rb