Sha256: 03c8f702ac793c6218ed845a25c99fde0474c97c13aad9921956f9dcebdece0f
Contents?: true
Size: 606 Bytes
Versions: 26
Compression:
Stored size: 606 Bytes
Contents
module Fog module Brightbox class Compute 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 => options.to_json ) end end class Mock def destroy_image(identifier, options = {}) Fog::Mock.not_implemented end end end end end
Version data entries
26 entries across 26 versions & 3 rubygems