Sha256: eaee26164f5c308747a5eb627dbdcea95b2bb60967279b2c8f97dc387b8fd303
Contents?: true
Size: 627 Bytes
Versions: 1
Compression:
Stored size: 627 Bytes
Contents
module Fog module Compute class OracleCloud class Real def delete_ssh_key (name) if !name.start_with?("/Compute-") then # They haven't provided a well formed name, add their name in name = "/Compute-#{@identity_domain}/#{@username}/#{name}" end request( :method => 'DELETE', :expects => 204, :path => "/sshkey#{name}", :headers => { 'Content-Type' => 'application/oracle-compute-v3+json' } ) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fog-oraclecloud-0.1.1 | lib/fog/oraclecloud/requests/compute/delete_ssh_key.rb |