Sha256: d49f4732f504292974ecfb3e5463833fc7b384293cc9ed697b4bf15babf54ea6

Contents?: true

Size: 505 Bytes

Versions: 5

Compression:

Stored size: 505 Bytes

Contents

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fog-oraclecloud-0.1.17 lib/fog/oraclecloud/requests/compute/delete_image_list.rb
fog-oraclecloud-0.1.16 lib/fog/oraclecloud/requests/compute/delete_image_list.rb
fog-oraclecloud-0.1.15 lib/fog/oraclecloud/requests/compute/delete_image_list.rb
fog-oraclecloud-0.1.14 lib/fog/oraclecloud/requests/compute/delete_image_list.rb
fog-oraclecloud-0.1.13 lib/fog/oraclecloud/requests/compute/delete_image_list.rb