Sha256: cf07acab92a08430037f721d3f75f9cb1cf257f429d2f6e4d3830cc2e1ba02c8

Contents?: true

Size: 586 Bytes

Versions: 5

Compression:

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

5 entries across 5 versions & 1 rubygems

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