Sha256: 2a965120c0982d303f99de0cf10b9813bb1001eace841dc10a7658f2089a492a
Contents?: true
Size: 486 Bytes
Versions: 1
Compression:
Stored size: 486 Bytes
Contents
module Fog module Compute class Brightbox class Real def destroy_image(identifier, options = {}) return nil if identifier.nil? || identifier == "" request( :expects => [202], :method => 'DELETE', :path => "/1.0/images/#{identifier}", :headers => {"Content-Type" => "application/json"}, :body => MultiJson.encode(options) ) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fog-0.10.0 | lib/fog/compute/requests/brightbox/destroy_image.rb |