Sha256: e0731b2a662fe6b813028140ad44604aac7b49be8bef1cb1c878f35ea6af879d
Contents?: true
Size: 546 Bytes
Versions: 5
Compression:
Stored size: 546 Bytes
Contents
module Fog module Compute class Brightbox class Real # Destroy the image. # # @param [String] identifier Unique reference to identify the resource # # @return [Hash] The JSON response parsed to a Hash # # @see https://api.gb1.brightbox.com/1.0/#image_destroy_image # def destroy_image(identifier) return nil if identifier.nil? || identifier == "" request("delete", "/1.0/images/#{identifier}", [202]) end end end end end
Version data entries
5 entries across 5 versions & 4 rubygems